Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) CloseTopbox(request *CloseTopboxRequest) (_result *CloseTopboxResponse, _err error)
- func (client *Client) CloseTopboxWithOptions(request *CloseTopboxRequest, headers *CloseTopboxHeaders, ...) (_result *CloseTopboxResponse, _err error)
- func (client *Client) CreateTopbox(request *CreateTopboxRequest) (_result *CreateTopboxResponse, _err error)
- func (client *Client) CreateTopboxWithOptions(request *CreateTopboxRequest, headers *CreateTopboxHeaders, ...) (_result *CreateTopboxResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- type CloseTopboxHeaders
- type CloseTopboxRequest
- func (s CloseTopboxRequest) GoString() string
- func (s *CloseTopboxRequest) SetConversationType(v int32) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetCoolAppCode(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetGroupTemplateId(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetOpenConversationId(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetOutTrackId(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetRobotCode(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetUnoinId(v string) *CloseTopboxRequest
- func (s *CloseTopboxRequest) SetUserId(v string) *CloseTopboxRequest
- func (s CloseTopboxRequest) String() string
- type CloseTopboxResponse
- type CloseTopboxResponseBody
- type CreateTopboxHeaders
- type CreateTopboxRequest
- func (s CreateTopboxRequest) GoString() string
- func (s *CreateTopboxRequest) SetCallbackRouteKey(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetCardData(v *CreateTopboxRequestCardData) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetCardSettings(v *CreateTopboxRequestCardSettings) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetCardTemplateId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetConversationType(v int32) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetCoolAppCode(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetExpiredTime(v int64) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetGroupTemplateId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetOpenConversationId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetOutTrackId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetPlatforms(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetReceiverUnionIdList(v []*string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetReceiverUserIdList(v []*string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetRobotCode(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetUnionIdPrivateDataMap(v map[string]*UnionIdPrivateDataMapValue) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetUnoinId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetUserId(v string) *CreateTopboxRequest
- func (s *CreateTopboxRequest) SetUserIdPrivateDataMap(v map[string]*UserIdPrivateDataMapValue) *CreateTopboxRequest
- func (s CreateTopboxRequest) String() string
- type CreateTopboxRequestCardData
- type CreateTopboxRequestCardSettings
- type CreateTopboxResponse
- type CreateTopboxResponseBody
- type UnionIdPrivateDataMapValue
- type UserIdPrivateDataMapValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CloseTopbox ¶
func (client *Client) CloseTopbox(request *CloseTopboxRequest) (_result *CloseTopboxResponse, _err error)
func (*Client) CloseTopboxWithOptions ¶
func (client *Client) CloseTopboxWithOptions(request *CloseTopboxRequest, headers *CloseTopboxHeaders, runtime *util.RuntimeOptions) (_result *CloseTopboxResponse, _err error)
func (*Client) CreateTopbox ¶
func (client *Client) CreateTopbox(request *CreateTopboxRequest) (_result *CreateTopboxResponse, _err error)
func (*Client) CreateTopboxWithOptions ¶
func (client *Client) CreateTopboxWithOptions(request *CreateTopboxRequest, headers *CreateTopboxHeaders, runtime *util.RuntimeOptions) (_result *CreateTopboxResponse, _err error)
type CloseTopboxHeaders ¶
type CloseTopboxHeaders struct { CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"` }
func (CloseTopboxHeaders) GoString ¶
func (s CloseTopboxHeaders) GoString() string
func (*CloseTopboxHeaders) SetCommonHeaders ¶
func (s *CloseTopboxHeaders) SetCommonHeaders(v map[string]*string) *CloseTopboxHeaders
func (*CloseTopboxHeaders) SetXAcsDingtalkAccessToken ¶
func (s *CloseTopboxHeaders) SetXAcsDingtalkAccessToken(v string) *CloseTopboxHeaders
func (CloseTopboxHeaders) String ¶
func (s CloseTopboxHeaders) String() string
type CloseTopboxRequest ¶
type CloseTopboxRequest struct { // 会话类型。 ConversationType *int32 `json:"conversationType,omitempty" xml:"conversationType,omitempty"` // 酷应用编码。 CoolAppCode *string `json:"coolAppCode,omitempty" xml:"coolAppCode,omitempty"` // 群模板id。 GroupTemplateId *string `json:"groupTemplateId,omitempty" xml:"groupTemplateId,omitempty"` // 会话id。 OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"` // 唯一标识一张卡片的外部ID。 OutTrackId *string `json:"outTrackId,omitempty" xml:"outTrackId,omitempty"` // 单聊助手会话,机器人编码。 RobotCode *string `json:"robotCode,omitempty" xml:"robotCode,omitempty"` // 单聊助手会话,用户unionId。 UnoinId *string `json:"unoinId,omitempty" xml:"unoinId,omitempty"` // 单聊助手会话,用户userId。 UserId *string `json:"userId,omitempty" xml:"userId,omitempty"` }
func (CloseTopboxRequest) GoString ¶
func (s CloseTopboxRequest) GoString() string
func (*CloseTopboxRequest) SetConversationType ¶
func (s *CloseTopboxRequest) SetConversationType(v int32) *CloseTopboxRequest
func (*CloseTopboxRequest) SetCoolAppCode ¶
func (s *CloseTopboxRequest) SetCoolAppCode(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetGroupTemplateId ¶
func (s *CloseTopboxRequest) SetGroupTemplateId(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetOpenConversationId ¶
func (s *CloseTopboxRequest) SetOpenConversationId(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetOutTrackId ¶
func (s *CloseTopboxRequest) SetOutTrackId(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetRobotCode ¶
func (s *CloseTopboxRequest) SetRobotCode(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetUnoinId ¶
func (s *CloseTopboxRequest) SetUnoinId(v string) *CloseTopboxRequest
func (*CloseTopboxRequest) SetUserId ¶
func (s *CloseTopboxRequest) SetUserId(v string) *CloseTopboxRequest
func (CloseTopboxRequest) String ¶
func (s CloseTopboxRequest) String() string
type CloseTopboxResponse ¶
type CloseTopboxResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` Body *CloseTopboxResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (CloseTopboxResponse) GoString ¶
func (s CloseTopboxResponse) GoString() string
func (*CloseTopboxResponse) SetBody ¶
func (s *CloseTopboxResponse) SetBody(v *CloseTopboxResponseBody) *CloseTopboxResponse
func (*CloseTopboxResponse) SetHeaders ¶
func (s *CloseTopboxResponse) SetHeaders(v map[string]*string) *CloseTopboxResponse
func (CloseTopboxResponse) String ¶
func (s CloseTopboxResponse) String() string
type CloseTopboxResponseBody ¶
type CloseTopboxResponseBody struct { // 请求是否成功。 Success *bool `json:"success,omitempty" xml:"success,omitempty"` }
func (CloseTopboxResponseBody) GoString ¶
func (s CloseTopboxResponseBody) GoString() string
func (*CloseTopboxResponseBody) SetSuccess ¶
func (s *CloseTopboxResponseBody) SetSuccess(v bool) *CloseTopboxResponseBody
func (CloseTopboxResponseBody) String ¶
func (s CloseTopboxResponseBody) String() string
type CreateTopboxHeaders ¶
type CreateTopboxHeaders struct { CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"` XAcsDingtalkAccessToken *string `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"` }
func (CreateTopboxHeaders) GoString ¶
func (s CreateTopboxHeaders) GoString() string
func (*CreateTopboxHeaders) SetCommonHeaders ¶
func (s *CreateTopboxHeaders) SetCommonHeaders(v map[string]*string) *CreateTopboxHeaders
func (*CreateTopboxHeaders) SetXAcsDingtalkAccessToken ¶
func (s *CreateTopboxHeaders) SetXAcsDingtalkAccessToken(v string) *CreateTopboxHeaders
func (CreateTopboxHeaders) String ¶
func (s CreateTopboxHeaders) String() string
type CreateTopboxRequest ¶
type CreateTopboxRequest struct { // 可控制卡片回调时的路由Key,用于指定特定的callbackUrl。 CallbackRouteKey *string `json:"callbackRouteKey,omitempty" xml:"callbackRouteKey,omitempty"` // 卡片数据。 CardData *CreateTopboxRequestCardData `json:"cardData,omitempty" xml:"cardData,omitempty" type:"Struct"` // 卡片设置项。 CardSettings *CreateTopboxRequestCardSettings `json:"cardSettings,omitempty" xml:"cardSettings,omitempty" type:"Struct"` // 互动卡片的消息模板ID CardTemplateId *string `json:"cardTemplateId,omitempty" xml:"cardTemplateId,omitempty"` // 会话类型。 ConversationType *int32 `json:"conversationType,omitempty" xml:"conversationType,omitempty"` // 酷应用编码。 CoolAppCode *string `json:"coolAppCode,omitempty" xml:"coolAppCode,omitempty"` // 吊顶的过期时间,绝对时间。 ExpiredTime *int64 `json:"expiredTime,omitempty" xml:"expiredTime,omitempty"` // 群模板id。 GroupTemplateId *string `json:"groupTemplateId,omitempty" xml:"groupTemplateId,omitempty"` // 会话id。 OpenConversationId *string `json:"openConversationId,omitempty" xml:"openConversationId,omitempty"` // 唯一标识一张卡片的外部ID。 OutTrackId *string `json:"outTrackId,omitempty" xml:"outTrackId,omitempty"` // 期望吊顶的端,如果有多个用“|”分隔。 例如:ios|mac|android|win表示iOS、MAC、安卓和windows端。 Platforms *string `json:"platforms,omitempty" xml:"platforms,omitempty"` // 吊顶可见者unionId,最多可传100个unionId。 ReceiverUnionIdList []*string `json:"receiverUnionIdList,omitempty" xml:"receiverUnionIdList,omitempty" type:"Repeated"` // 吊顶可见者userId,最多可传100个userId。 ReceiverUserIdList []*string `json:"receiverUserIdList,omitempty" xml:"receiverUserIdList,omitempty" type:"Repeated"` // 单聊助手会话,机器人编码。 RobotCode *string `json:"robotCode,omitempty" xml:"robotCode,omitempty"` // 卡片模板unionId差异用户参数。 UnionIdPrivateDataMap map[string]*UnionIdPrivateDataMapValue `json:"unionIdPrivateDataMap,omitempty" xml:"unionIdPrivateDataMap,omitempty"` // 单聊助手会话,用户unionId。 UnoinId *string `json:"unoinId,omitempty" xml:"unoinId,omitempty"` // 单聊助手会话,用户userId。 UserId *string `json:"userId,omitempty" xml:"userId,omitempty"` // 卡片模板userId差异用户参数。 UserIdPrivateDataMap map[string]*UserIdPrivateDataMapValue `json:"userIdPrivateDataMap,omitempty" xml:"userIdPrivateDataMap,omitempty"` }
func (CreateTopboxRequest) GoString ¶
func (s CreateTopboxRequest) GoString() string
func (*CreateTopboxRequest) SetCallbackRouteKey ¶
func (s *CreateTopboxRequest) SetCallbackRouteKey(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetCardData ¶
func (s *CreateTopboxRequest) SetCardData(v *CreateTopboxRequestCardData) *CreateTopboxRequest
func (*CreateTopboxRequest) SetCardSettings ¶
func (s *CreateTopboxRequest) SetCardSettings(v *CreateTopboxRequestCardSettings) *CreateTopboxRequest
func (*CreateTopboxRequest) SetCardTemplateId ¶
func (s *CreateTopboxRequest) SetCardTemplateId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetConversationType ¶
func (s *CreateTopboxRequest) SetConversationType(v int32) *CreateTopboxRequest
func (*CreateTopboxRequest) SetCoolAppCode ¶
func (s *CreateTopboxRequest) SetCoolAppCode(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetExpiredTime ¶
func (s *CreateTopboxRequest) SetExpiredTime(v int64) *CreateTopboxRequest
func (*CreateTopboxRequest) SetGroupTemplateId ¶
func (s *CreateTopboxRequest) SetGroupTemplateId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetOpenConversationId ¶
func (s *CreateTopboxRequest) SetOpenConversationId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetOutTrackId ¶
func (s *CreateTopboxRequest) SetOutTrackId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetPlatforms ¶
func (s *CreateTopboxRequest) SetPlatforms(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetReceiverUnionIdList ¶
func (s *CreateTopboxRequest) SetReceiverUnionIdList(v []*string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetReceiverUserIdList ¶
func (s *CreateTopboxRequest) SetReceiverUserIdList(v []*string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetRobotCode ¶
func (s *CreateTopboxRequest) SetRobotCode(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetUnionIdPrivateDataMap ¶
func (s *CreateTopboxRequest) SetUnionIdPrivateDataMap(v map[string]*UnionIdPrivateDataMapValue) *CreateTopboxRequest
func (*CreateTopboxRequest) SetUnoinId ¶
func (s *CreateTopboxRequest) SetUnoinId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetUserId ¶
func (s *CreateTopboxRequest) SetUserId(v string) *CreateTopboxRequest
func (*CreateTopboxRequest) SetUserIdPrivateDataMap ¶
func (s *CreateTopboxRequest) SetUserIdPrivateDataMap(v map[string]*UserIdPrivateDataMapValue) *CreateTopboxRequest
func (CreateTopboxRequest) String ¶
func (s CreateTopboxRequest) String() string
type CreateTopboxRequestCardData ¶
type CreateTopboxRequestCardData struct { // 卡片模板内容替换参数,包含普通文本类型和多媒体类型。 CardParamMap map[string]*string `json:"cardParamMap,omitempty" xml:"cardParamMap,omitempty"` }
func (CreateTopboxRequestCardData) GoString ¶
func (s CreateTopboxRequestCardData) GoString() string
func (*CreateTopboxRequestCardData) SetCardParamMap ¶
func (s *CreateTopboxRequestCardData) SetCardParamMap(v map[string]*string) *CreateTopboxRequestCardData
func (CreateTopboxRequestCardData) String ¶
func (s CreateTopboxRequestCardData) String() string
type CreateTopboxRequestCardSettings ¶
type CreateTopboxRequestCardSettings struct { // 是否开启卡片纯拉模式。 PullStrategy *bool `json:"pullStrategy,omitempty" xml:"pullStrategy,omitempty"` }
func (CreateTopboxRequestCardSettings) GoString ¶
func (s CreateTopboxRequestCardSettings) GoString() string
func (*CreateTopboxRequestCardSettings) SetPullStrategy ¶
func (s *CreateTopboxRequestCardSettings) SetPullStrategy(v bool) *CreateTopboxRequestCardSettings
func (CreateTopboxRequestCardSettings) String ¶
func (s CreateTopboxRequestCardSettings) String() string
type CreateTopboxResponse ¶
type CreateTopboxResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` Body *CreateTopboxResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (CreateTopboxResponse) GoString ¶
func (s CreateTopboxResponse) GoString() string
func (*CreateTopboxResponse) SetBody ¶
func (s *CreateTopboxResponse) SetBody(v *CreateTopboxResponseBody) *CreateTopboxResponse
func (*CreateTopboxResponse) SetHeaders ¶
func (s *CreateTopboxResponse) SetHeaders(v map[string]*string) *CreateTopboxResponse
func (CreateTopboxResponse) String ¶
func (s CreateTopboxResponse) String() string
type CreateTopboxResponseBody ¶
type CreateTopboxResponseBody struct { // 请求是否成功。 Success *bool `json:"success,omitempty" xml:"success,omitempty"` }
func (CreateTopboxResponseBody) GoString ¶
func (s CreateTopboxResponseBody) GoString() string
func (*CreateTopboxResponseBody) SetSuccess ¶
func (s *CreateTopboxResponseBody) SetSuccess(v bool) *CreateTopboxResponseBody
func (CreateTopboxResponseBody) String ¶
func (s CreateTopboxResponseBody) String() string
type UnionIdPrivateDataMapValue ¶
type UnionIdPrivateDataMapValue struct { // 卡片模板内容替换参数,包含普通文本类型和多媒体类型。 CardParamMap map[string]*string `json:"cardParamMap,omitempty" xml:"cardParamMap,omitempty"` }
func (UnionIdPrivateDataMapValue) GoString ¶
func (s UnionIdPrivateDataMapValue) GoString() string
func (*UnionIdPrivateDataMapValue) SetCardParamMap ¶
func (s *UnionIdPrivateDataMapValue) SetCardParamMap(v map[string]*string) *UnionIdPrivateDataMapValue
func (UnionIdPrivateDataMapValue) String ¶
func (s UnionIdPrivateDataMapValue) String() string
type UserIdPrivateDataMapValue ¶
type UserIdPrivateDataMapValue struct { // 卡片模板内容替换参数,包含普通文本类型和多媒体类型。 CardParamMap map[string]*string `json:"cardParamMap,omitempty" xml:"cardParamMap,omitempty"` }
func (UserIdPrivateDataMapValue) GoString ¶
func (s UserIdPrivateDataMapValue) GoString() string
func (*UserIdPrivateDataMapValue) SetCardParamMap ¶
func (s *UserIdPrivateDataMapValue) SetCardParamMap(v map[string]*string) *UserIdPrivateDataMapValue
func (UserIdPrivateDataMapValue) String ¶
func (s UserIdPrivateDataMapValue) String() string
Click to show internal directories.
Click to hide internal directories.