Documentation ¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen ¶
Code generated by lark suite oapi sdk gen
Index ¶
- func SetChatDisbandedEventHandler(conf *config.Config, ...)
- func SetChatMemberBotAddedEventHandler(conf *config.Config, ...)
- func SetChatMemberBotDeletedEventHandler(conf *config.Config, ...)
- func SetChatMemberUserAddedEventHandler(conf *config.Config, ...)
- func SetChatMemberUserDeletedEventHandler(conf *config.Config, ...)
- func SetChatMemberUserWithdrawnEventHandler(conf *config.Config, ...)
- func SetChatUpdatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *ChatUpdatedEvent) error)
- func SetMessageMessageReadEventHandler(conf *config.Config, ...)
- func SetMessageReactionCreatedEventHandler(conf *config.Config, ...)
- func SetMessageReactionDeletedEventHandler(conf *config.Config, ...)
- func SetMessageReceiveEventHandler(conf *config.Config, ...)
- type BatchMessage
- type BatchMessageDeleteReqCall
- type BatchMessageGetProgressReqCall
- type BatchMessageGetProgressResult
- type BatchMessageReadUser
- type BatchMessageReadUserReqCall
- type BatchMessageReadUserResult
- type BatchMessageRecallProgress
- type BatchMessageSendProgress
- type BatchMessageService
- func (batchMessages *BatchMessageService) Delete(ctx *core.Context, optFns ...request.OptFn) *BatchMessageDeleteReqCall
- func (batchMessages *BatchMessageService) GetProgress(ctx *core.Context, optFns ...request.OptFn) *BatchMessageGetProgressReqCall
- func (batchMessages *BatchMessageService) ReadUser(ctx *core.Context, optFns ...request.OptFn) *BatchMessageReadUserReqCall
- type BatchRecallProgress
- type BatchSendProgress
- type Chat
- type ChatAnnouncement
- type ChatAnnouncementGetReqCall
- type ChatAnnouncementGetResult
- type ChatAnnouncementPatchReqBody
- type ChatAnnouncementPatchReqCall
- type ChatAnnouncementService
- type ChatChange
- type ChatCreateReqBody
- type ChatCreateReqCall
- type ChatCreateResult
- type ChatDeleteReqCall
- type ChatDisbandedEvent
- type ChatDisbandedEventData
- type ChatDisbandedEventHandler
- type ChatGetReqCall
- type ChatGetResult
- type ChatListReqCall
- type ChatListResult
- type ChatManagers
- type ChatManagersAddManagersReqBody
- type ChatManagersAddManagersReqCall
- type ChatManagersAddManagersResult
- type ChatManagersDeleteManagersReqBody
- type ChatManagersDeleteManagersReqCall
- type ChatManagersDeleteManagersResult
- type ChatManagersService
- func (chatManagerss *ChatManagersService) AddManagers(ctx *core.Context, body *ChatManagersAddManagersReqBody, ...) *ChatManagersAddManagersReqCall
- func (chatManagerss *ChatManagersService) DeleteManagers(ctx *core.Context, body *ChatManagersDeleteManagersReqBody, ...) *ChatManagersDeleteManagersReqCall
- type ChatMember
- type ChatMemberBot
- type ChatMemberBotAddedEvent
- type ChatMemberBotAddedEventData
- type ChatMemberBotAddedEventHandler
- type ChatMemberBotDeletedEvent
- type ChatMemberBotDeletedEventData
- type ChatMemberBotDeletedEventHandler
- type ChatMemberBotService
- type ChatMemberUser
- type ChatMemberUserAddedEvent
- type ChatMemberUserAddedEventData
- type ChatMemberUserAddedEventHandler
- type ChatMemberUserDeletedEvent
- type ChatMemberUserDeletedEventData
- type ChatMemberUserDeletedEventHandler
- type ChatMemberUserService
- type ChatMemberUserWithdrawnEvent
- type ChatMemberUserWithdrawnEventData
- type ChatMemberUserWithdrawnEventHandler
- type ChatMembers
- type ChatMembersCreateReqBody
- type ChatMembersCreateReqCall
- type ChatMembersCreateResult
- type ChatMembersDeleteReqBody
- type ChatMembersDeleteReqCall
- type ChatMembersDeleteResult
- type ChatMembersGetReqCall
- func (rc *ChatMembersGetReqCall) Do() (*ChatMembersGetResult, error)
- func (rc *ChatMembersGetReqCall) SetChatId(chatId string)
- func (rc *ChatMembersGetReqCall) SetMemberIdType(memberIdType string)
- func (rc *ChatMembersGetReqCall) SetPageSize(pageSize int)
- func (rc *ChatMembersGetReqCall) SetPageToken(pageToken string)
- type ChatMembersGetResult
- type ChatMembersIsInChatReqCall
- type ChatMembersIsInChatResult
- type ChatMembersMeJoinReqCall
- type ChatMembersService
- func (chatMemberss *ChatMembersService) Create(ctx *core.Context, body *ChatMembersCreateReqBody, optFns ...request.OptFn) *ChatMembersCreateReqCall
- func (chatMemberss *ChatMembersService) Delete(ctx *core.Context, body *ChatMembersDeleteReqBody, optFns ...request.OptFn) *ChatMembersDeleteReqCall
- func (chatMemberss *ChatMembersService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatMembersGetReqCall
- func (chatMemberss *ChatMembersService) IsInChat(ctx *core.Context, optFns ...request.OptFn) *ChatMembersIsInChatReqCall
- func (chatMemberss *ChatMembersService) MeJoin(ctx *core.Context, optFns ...request.OptFn) *ChatMembersMeJoinReqCall
- type ChatModeration
- type ChatModerationGetReqCall
- func (rc *ChatModerationGetReqCall) Do() (*ChatModerationGetResult, error)
- func (rc *ChatModerationGetReqCall) SetChatId(chatId string)
- func (rc *ChatModerationGetReqCall) SetPageSize(pageSize int)
- func (rc *ChatModerationGetReqCall) SetPageToken(pageToken string)
- func (rc *ChatModerationGetReqCall) SetUserIdType(userIdType string)
- type ChatModerationGetResult
- type ChatModerationService
- type ChatModerationUpdateReqBody
- type ChatModerationUpdateReqCall
- type ChatSearchReqCall
- type ChatSearchResult
- type ChatService
- func (chats *ChatService) Create(ctx *core.Context, body *ChatCreateReqBody, optFns ...request.OptFn) *ChatCreateReqCall
- func (chats *ChatService) Delete(ctx *core.Context, optFns ...request.OptFn) *ChatDeleteReqCall
- func (chats *ChatService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatGetReqCall
- func (chats *ChatService) List(ctx *core.Context, optFns ...request.OptFn) *ChatListReqCall
- func (chats *ChatService) Search(ctx *core.Context, optFns ...request.OptFn) *ChatSearchReqCall
- func (chats *ChatService) Update(ctx *core.Context, body *ChatUpdateReqBody, optFns ...request.OptFn) *ChatUpdateReqCall
- type ChatTab
- type ChatTabContent
- type ChatTabCreateReqBody
- type ChatTabCreateReqCall
- type ChatTabCreateResult
- type ChatTabDeleteTabsReqBody
- type ChatTabDeleteTabsReqCall
- type ChatTabDeleteTabsResult
- type ChatTabListTabsReqCall
- type ChatTabListTabsResult
- type ChatTabService
- func (chatTabs *ChatTabService) Create(ctx *core.Context, body *ChatTabCreateReqBody, optFns ...request.OptFn) *ChatTabCreateReqCall
- func (chatTabs *ChatTabService) DeleteTabs(ctx *core.Context, body *ChatTabDeleteTabsReqBody, optFns ...request.OptFn) *ChatTabDeleteTabsReqCall
- func (chatTabs *ChatTabService) ListTabs(ctx *core.Context, optFns ...request.OptFn) *ChatTabListTabsReqCall
- func (chatTabs *ChatTabService) SortTabs(ctx *core.Context, body *ChatTabSortTabsReqBody, optFns ...request.OptFn) *ChatTabSortTabsReqCall
- func (chatTabs *ChatTabService) UpdateTabs(ctx *core.Context, body *ChatTabUpdateTabsReqBody, optFns ...request.OptFn) *ChatTabUpdateTabsReqCall
- type ChatTabSortTabsReqBody
- type ChatTabSortTabsReqCall
- type ChatTabSortTabsResult
- type ChatTabUpdateTabsReqBody
- type ChatTabUpdateTabsReqCall
- type ChatTabUpdateTabsResult
- type ChatTopNotice
- type ChatTopNoticeDeleteTopNoticeReqCall
- type ChatTopNoticePutTopNoticeReqBody
- type ChatTopNoticePutTopNoticeReqCall
- type ChatTopNoticeService
- type ChatUpdateReqBody
- type ChatUpdateReqCall
- type ChatUpdatedEvent
- type ChatUpdatedEventData
- type ChatUpdatedEventHandler
- type Emoji
- type EventMessage
- type EventMessageReader
- type EventSender
- type File
- type FileCreateReqCall
- type FileCreateResult
- type FileGetReqCall
- type FileService
- type I18nNames
- type ImDepthData
- type Image
- type ImageCreateReqCall
- type ImageCreateResult
- type ImageGetReqCall
- type ImageService
- type ListChat
- type ListEventModerator
- type ListMember
- type ListModerator
- type Mention
- type MentionEvent
- type Message
- type MessageBody
- type MessageCreateReqBody
- type MessageCreateReqCall
- type MessageCreateResult
- type MessageDeleteReqCall
- type MessageGetReqCall
- type MessageGetResult
- type MessageListReqCall
- func (rc *MessageListReqCall) Do() (*MessageListResult, error)
- func (rc *MessageListReqCall) SetContainerId(containerId string)
- func (rc *MessageListReqCall) SetContainerIdType(containerIdType string)
- func (rc *MessageListReqCall) SetEndTime(endTime string)
- func (rc *MessageListReqCall) SetPageSize(pageSize int)
- func (rc *MessageListReqCall) SetPageToken(pageToken string)
- func (rc *MessageListReqCall) SetStartTime(startTime string)
- type MessageListResult
- type MessageMessageReadEvent
- type MessageMessageReadEventData
- type MessageMessageReadEventHandler
- type MessagePatchReqBody
- type MessagePatchReqCall
- type MessageReaction
- type MessageReactionCreateReqBody
- type MessageReactionCreateReqCall
- type MessageReactionCreateResult
- type MessageReactionCreatedEvent
- type MessageReactionCreatedEventData
- type MessageReactionCreatedEventHandler
- type MessageReactionDeleteReqCall
- type MessageReactionDeleteResult
- type MessageReactionDeletedEvent
- type MessageReactionDeletedEventData
- type MessageReactionDeletedEventHandler
- type MessageReactionListReqCall
- func (rc *MessageReactionListReqCall) Do() (*MessageReactionListResult, error)
- func (rc *MessageReactionListReqCall) SetMessageId(messageId string)
- func (rc *MessageReactionListReqCall) SetPageSize(pageSize int)
- func (rc *MessageReactionListReqCall) SetPageToken(pageToken string)
- func (rc *MessageReactionListReqCall) SetReactionType(reactionType string)
- func (rc *MessageReactionListReqCall) SetUserIdType(userIdType string)
- type MessageReactionListResult
- type MessageReactionService
- func (messageReactions *MessageReactionService) Create(ctx *core.Context, body *MessageReactionCreateReqBody, optFns ...request.OptFn) *MessageReactionCreateReqCall
- func (messageReactions *MessageReactionService) Delete(ctx *core.Context, optFns ...request.OptFn) *MessageReactionDeleteReqCall
- func (messageReactions *MessageReactionService) List(ctx *core.Context, optFns ...request.OptFn) *MessageReactionListReqCall
- type MessageReadUsersReqCall
- func (rc *MessageReadUsersReqCall) Do() (*MessageReadUsersResult, error)
- func (rc *MessageReadUsersReqCall) SetMessageId(messageId string)
- func (rc *MessageReadUsersReqCall) SetPageSize(pageSize int)
- func (rc *MessageReadUsersReqCall) SetPageToken(pageToken string)
- func (rc *MessageReadUsersReqCall) SetUserIdType(userIdType string)
- type MessageReadUsersResult
- type MessageReceiveEvent
- type MessageReceiveEventData
- type MessageReceiveEventHandler
- type MessageReplyReqBody
- type MessageReplyReqCall
- type MessageReplyResult
- type MessageResource
- type MessageResourceGetReqCall
- func (rc *MessageResourceGetReqCall) Do() (io.Writer, error)
- func (rc *MessageResourceGetReqCall) SetFileKey(fileKey string)
- func (rc *MessageResourceGetReqCall) SetMessageId(messageId string)
- func (rc *MessageResourceGetReqCall) SetResponseStream(result io.Writer)
- func (rc *MessageResourceGetReqCall) SetType(type1 string)
- type MessageResourceService
- type MessageService
- func (messages *MessageService) Create(ctx *core.Context, body *MessageCreateReqBody, optFns ...request.OptFn) *MessageCreateReqCall
- func (messages *MessageService) Delete(ctx *core.Context, optFns ...request.OptFn) *MessageDeleteReqCall
- func (messages *MessageService) Get(ctx *core.Context, optFns ...request.OptFn) *MessageGetReqCall
- func (messages *MessageService) List(ctx *core.Context, optFns ...request.OptFn) *MessageListReqCall
- func (messages *MessageService) Patch(ctx *core.Context, body *MessagePatchReqBody, optFns ...request.OptFn) *MessagePatchReqCall
- func (messages *MessageService) ReadUsers(ctx *core.Context, optFns ...request.OptFn) *MessageReadUsersReqCall
- func (messages *MessageService) Reply(ctx *core.Context, body *MessageReplyReqBody, optFns ...request.OptFn) *MessageReplyReqCall
- func (messages *MessageService) UrgentApp(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentAppReqCall
- func (messages *MessageService) UrgentPhone(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentPhoneReqCall
- func (messages *MessageService) UrgentSms(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentSmsReqCall
- type MessageUrgentAppReqCall
- type MessageUrgentAppResult
- type MessageUrgentPhoneReqCall
- type MessageUrgentPhoneResult
- type MessageUrgentSmsReqCall
- type MessageUrgentSmsResult
- type ModeratorList
- type MsgProcessData
- type Operator
- type Pin
- type PinedMessage
- type ReadUser
- type Sender
- type Service
- type SpecialFocus
- type SpecialFocusUnread
- type Toolkit
- type ToolkitCallback
- type ToolkitRedirectLink
- type UrgentReceivers
- type UserId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchMessage ¶ added in v1.1.48
type BatchMessage struct { BatchMessageId string `json:"batch_message_id,omitempty"` BatchSendProgress *BatchSendProgress `json:"batch_send_progress,omitempty"` BatchRecallProgress *BatchRecallProgress `json:"batch_recall_progress,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchMessage) MarshalJSON ¶ added in v1.1.48
func (s *BatchMessage) MarshalJSON() ([]byte, error)
type BatchMessageDeleteReqCall ¶ added in v1.1.48
type BatchMessageDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*BatchMessageDeleteReqCall) Do ¶ added in v1.1.48
func (rc *BatchMessageDeleteReqCall) Do() (*response.NoData, error)
func (*BatchMessageDeleteReqCall) SetBatchMessageId ¶ added in v1.1.48
func (rc *BatchMessageDeleteReqCall) SetBatchMessageId(batchMessageId string)
type BatchMessageGetProgressReqCall ¶ added in v1.1.48
type BatchMessageGetProgressReqCall struct {
// contains filtered or unexported fields
}
func (*BatchMessageGetProgressReqCall) Do ¶ added in v1.1.48
func (rc *BatchMessageGetProgressReqCall) Do() (*BatchMessageGetProgressResult, error)
func (*BatchMessageGetProgressReqCall) SetBatchMessageId ¶ added in v1.1.48
func (rc *BatchMessageGetProgressReqCall) SetBatchMessageId(batchMessageId string)
type BatchMessageGetProgressResult ¶ added in v1.1.48
type BatchMessageGetProgressResult struct { BatchMessageSendProgress *BatchMessageSendProgress `json:"batch_message_send_progress,omitempty"` BatchMessageRecallProgress *BatchMessageRecallProgress `json:"batch_message_recall_progress,omitempty"` }
type BatchMessageReadUser ¶ added in v1.1.48
type BatchMessageReadUser struct { ReadCount string `json:"read_count,omitempty"` TotalCount string `json:"total_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchMessageReadUser) MarshalJSON ¶ added in v1.1.48
func (s *BatchMessageReadUser) MarshalJSON() ([]byte, error)
type BatchMessageReadUserReqCall ¶ added in v1.1.48
type BatchMessageReadUserReqCall struct {
// contains filtered or unexported fields
}
func (*BatchMessageReadUserReqCall) Do ¶ added in v1.1.48
func (rc *BatchMessageReadUserReqCall) Do() (*BatchMessageReadUserResult, error)
func (*BatchMessageReadUserReqCall) SetBatchMessageId ¶ added in v1.1.48
func (rc *BatchMessageReadUserReqCall) SetBatchMessageId(batchMessageId string)
type BatchMessageReadUserResult ¶ added in v1.1.48
type BatchMessageReadUserResult struct {
ReadUser *BatchMessageReadUser `json:"read_user,omitempty"`
}
type BatchMessageRecallProgress ¶ added in v1.1.48
type BatchMessageRecallProgress struct { Recall bool `json:"recall,omitempty"` RecallCount int `json:"recall_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchMessageRecallProgress) MarshalJSON ¶ added in v1.1.48
func (s *BatchMessageRecallProgress) MarshalJSON() ([]byte, error)
type BatchMessageSendProgress ¶ added in v1.1.48
type BatchMessageSendProgress struct { ValidUserIdsCount int `json:"valid_user_ids_count,omitempty"` SuccessUserIdsCount int `json:"success_user_ids_count,omitempty"` ReadUserIdsCount int `json:"read_user_ids_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchMessageSendProgress) MarshalJSON ¶ added in v1.1.48
func (s *BatchMessageSendProgress) MarshalJSON() ([]byte, error)
type BatchMessageService ¶ added in v1.1.48
type BatchMessageService struct {
// contains filtered or unexported fields
}
func (*BatchMessageService) Delete ¶ added in v1.1.48
func (batchMessages *BatchMessageService) Delete(ctx *core.Context, optFns ...request.OptFn) *BatchMessageDeleteReqCall
func (*BatchMessageService) GetProgress ¶ added in v1.1.48
func (batchMessages *BatchMessageService) GetProgress(ctx *core.Context, optFns ...request.OptFn) *BatchMessageGetProgressReqCall
func (*BatchMessageService) ReadUser ¶ added in v1.1.48
func (batchMessages *BatchMessageService) ReadUser(ctx *core.Context, optFns ...request.OptFn) *BatchMessageReadUserReqCall
type BatchRecallProgress ¶ added in v1.1.48
type BatchRecallProgress struct { RecallCount string `json:"recall_count,omitempty"` TotalRecallCount string `json:"total_recall_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchRecallProgress) MarshalJSON ¶ added in v1.1.48
func (s *BatchRecallProgress) MarshalJSON() ([]byte, error)
type BatchSendProgress ¶ added in v1.1.48
type BatchSendProgress struct { SendCount string `json:"send_count,omitempty"` TotalSendCount string `json:"total_send_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*BatchSendProgress) MarshalJSON ¶ added in v1.1.48
func (s *BatchSendProgress) MarshalJSON() ([]byte, error)
type Chat ¶
type Chat struct { ChatId string `json:"chat_id,omitempty"` Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` OnlyOwnerAdd bool `json:"only_owner_add,omitempty"` OnlyOwnerAtAll bool `json:"only_owner_at_all,omitempty"` OnlyOwnerEdit bool `json:"only_owner_edit,omitempty"` OwnerUserId string `json:"owner_user_id,omitempty"` Type string `json:"type,omitempty"` Labels []string `json:"labels,omitempty"` ForceSendFields []string `json:"-"` }
func (*Chat) MarshalJSON ¶
type ChatAnnouncement ¶
type ChatAnnouncement struct { }
type ChatAnnouncementGetReqCall ¶
type ChatAnnouncementGetReqCall struct {
// contains filtered or unexported fields
}
func (*ChatAnnouncementGetReqCall) Do ¶
func (rc *ChatAnnouncementGetReqCall) Do() (*ChatAnnouncementGetResult, error)
func (*ChatAnnouncementGetReqCall) SetChatId ¶
func (rc *ChatAnnouncementGetReqCall) SetChatId(chatId string)
func (*ChatAnnouncementGetReqCall) SetUserIdType ¶
func (rc *ChatAnnouncementGetReqCall) SetUserIdType(userIdType string)
type ChatAnnouncementGetResult ¶
type ChatAnnouncementGetResult struct { Content string `json:"content,omitempty"` Revision string `json:"revision,omitempty"` CreateTime string `json:"create_time,omitempty"` UpdateTime string `json:"update_time,omitempty"` OwnerIdType string `json:"owner_id_type,omitempty"` OwnerId string `json:"owner_id,omitempty"` ModifierIdType string `json:"modifier_id_type,omitempty"` ModifierId string `json:"modifier_id,omitempty"` }
type ChatAnnouncementPatchReqBody ¶
type ChatAnnouncementPatchReqBody struct { Revision string `json:"revision,omitempty"` Requests []string `json:"requests,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatAnnouncementPatchReqBody) MarshalJSON ¶
func (s *ChatAnnouncementPatchReqBody) MarshalJSON() ([]byte, error)
type ChatAnnouncementPatchReqCall ¶
type ChatAnnouncementPatchReqCall struct {
// contains filtered or unexported fields
}
func (*ChatAnnouncementPatchReqCall) Do ¶
func (rc *ChatAnnouncementPatchReqCall) Do() (*response.NoData, error)
func (*ChatAnnouncementPatchReqCall) SetChatId ¶
func (rc *ChatAnnouncementPatchReqCall) SetChatId(chatId string)
type ChatAnnouncementService ¶
type ChatAnnouncementService struct {
// contains filtered or unexported fields
}
func (*ChatAnnouncementService) Get ¶
func (chatAnnouncements *ChatAnnouncementService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatAnnouncementGetReqCall
func (*ChatAnnouncementService) Patch ¶
func (chatAnnouncements *ChatAnnouncementService) Patch(ctx *core.Context, body *ChatAnnouncementPatchReqBody, optFns ...request.OptFn) *ChatAnnouncementPatchReqCall
type ChatChange ¶
type ChatChange struct { Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` AddMemberPermission string `json:"add_member_permission,omitempty"` AtAllPermission string `json:"at_all_permission,omitempty"` EditPermission string `json:"edit_permission,omitempty"` MembershipApproval string `json:"membership_approval,omitempty"` JoinMessageVisibility string `json:"join_message_visibility,omitempty"` LeaveMessageVisibility string `json:"leave_message_visibility,omitempty"` ModerationPermission string `json:"moderation_permission,omitempty"` OwnerId *UserId `json:"owner_id,omitempty"` Labels []string `json:"labels,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatChange) MarshalJSON ¶
func (s *ChatChange) MarshalJSON() ([]byte, error)
type ChatCreateReqBody ¶
type ChatCreateReqBody struct { Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` OwnerId string `json:"owner_id,omitempty"` UserIdList []string `json:"user_id_list,omitempty"` BotIdList []string `json:"bot_id_list,omitempty"` ChatMode string `json:"chat_mode,omitempty"` ChatType string `json:"chat_type,omitempty"` External bool `json:"external,omitempty"` JoinMessageVisibility string `json:"join_message_visibility,omitempty"` LeaveMessageVisibility string `json:"leave_message_visibility,omitempty"` MembershipApproval string `json:"membership_approval,omitempty"` Labels []string `json:"labels,omitempty"` ToolkitIds []int64 `json:"toolkit_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatCreateReqBody) MarshalJSON ¶
func (s *ChatCreateReqBody) MarshalJSON() ([]byte, error)
type ChatCreateReqCall ¶
type ChatCreateReqCall struct {
// contains filtered or unexported fields
}
func (*ChatCreateReqCall) Do ¶
func (rc *ChatCreateReqCall) Do() (*ChatCreateResult, error)
func (*ChatCreateReqCall) SetSetBotManager ¶ added in v1.1.48
func (rc *ChatCreateReqCall) SetSetBotManager(setBotManager bool)
func (*ChatCreateReqCall) SetUserIdType ¶
func (rc *ChatCreateReqCall) SetUserIdType(userIdType string)
type ChatCreateResult ¶
type ChatCreateResult struct { ChatId string `json:"chat_id,omitempty"` Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` OwnerId string `json:"owner_id,omitempty"` OwnerIdType string `json:"owner_id_type,omitempty"` AddMemberPermission string `json:"add_member_permission,omitempty"` AtAllPermission string `json:"at_all_permission,omitempty"` EditPermission string `json:"edit_permission,omitempty"` ChatMode string `json:"chat_mode,omitempty"` ChatType string `json:"chat_type,omitempty"` ChatTag string `json:"chat_tag,omitempty"` External bool `json:"external,omitempty"` TenantKey string `json:"tenant_key,omitempty"` JoinMessageVisibility string `json:"join_message_visibility,omitempty"` LeaveMessageVisibility string `json:"leave_message_visibility,omitempty"` MembershipApproval string `json:"membership_approval,omitempty"` ModerationPermission string `json:"moderation_permission,omitempty"` Labels []string `json:"labels,omitempty"` ToolkitIds []int64 `json:"toolkit_ids,omitempty"` }
type ChatDeleteReqCall ¶
type ChatDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*ChatDeleteReqCall) SetChatId ¶
func (rc *ChatDeleteReqCall) SetChatId(chatId string)
type ChatDisbandedEvent ¶
type ChatDisbandedEvent struct { *model.BaseEventV2 Event *ChatDisbandedEventData `json:"event"` }
type ChatDisbandedEventData ¶
type ChatDisbandedEventHandler ¶
type ChatDisbandedEventHandler struct {
Fn func(*core.Context, *ChatDisbandedEvent) error
}
func (*ChatDisbandedEventHandler) GetEvent ¶
func (h *ChatDisbandedEventHandler) GetEvent() interface{}
type ChatGetReqCall ¶
type ChatGetReqCall struct {
// contains filtered or unexported fields
}
func (*ChatGetReqCall) Do ¶
func (rc *ChatGetReqCall) Do() (*ChatGetResult, error)
func (*ChatGetReqCall) SetChatId ¶
func (rc *ChatGetReqCall) SetChatId(chatId string)
func (*ChatGetReqCall) SetUserIdType ¶
func (rc *ChatGetReqCall) SetUserIdType(userIdType string)
type ChatGetResult ¶
type ChatGetResult struct { Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` AddMemberPermission string `json:"add_member_permission,omitempty"` AtAllPermission string `json:"at_all_permission,omitempty"` EditPermission string `json:"edit_permission,omitempty"` OwnerIdType string `json:"owner_id_type,omitempty"` OwnerId string `json:"owner_id,omitempty"` ChatMode string `json:"chat_mode,omitempty"` ChatType string `json:"chat_type,omitempty"` ChatTag string `json:"chat_tag,omitempty"` JoinMessageVisibility string `json:"join_message_visibility,omitempty"` LeaveMessageVisibility string `json:"leave_message_visibility,omitempty"` MembershipApproval string `json:"membership_approval,omitempty"` ModerationPermission string `json:"moderation_permission,omitempty"` External bool `json:"external,omitempty"` TenantKey string `json:"tenant_key,omitempty"` UserCount string `json:"user_count,omitempty"` BotCount string `json:"bot_count,omitempty"` Labels []string `json:"labels,omitempty"` ToolkitIds []int64 `json:"toolkit_ids,omitempty"` }
type ChatListReqCall ¶
type ChatListReqCall struct {
// contains filtered or unexported fields
}
func (*ChatListReqCall) Do ¶
func (rc *ChatListReqCall) Do() (*ChatListResult, error)
func (*ChatListReqCall) SetPageSize ¶
func (rc *ChatListReqCall) SetPageSize(pageSize int)
func (*ChatListReqCall) SetPageToken ¶
func (rc *ChatListReqCall) SetPageToken(pageToken string)
func (*ChatListReqCall) SetUserIdType ¶
func (rc *ChatListReqCall) SetUserIdType(userIdType string)
type ChatListResult ¶
type ChatManagers ¶ added in v1.1.41
type ChatManagers struct { ManagerId int64 `json:"manager_id,omitempty,string"` ForceSendFields []string `json:"-"` }
func (*ChatManagers) MarshalJSON ¶ added in v1.1.41
func (s *ChatManagers) MarshalJSON() ([]byte, error)
type ChatManagersAddManagersReqBody ¶ added in v1.1.48
type ChatManagersAddManagersReqBody struct { ManagerIds []string `json:"manager_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatManagersAddManagersReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatManagersAddManagersReqBody) MarshalJSON() ([]byte, error)
type ChatManagersAddManagersReqCall ¶ added in v1.1.48
type ChatManagersAddManagersReqCall struct {
// contains filtered or unexported fields
}
func (*ChatManagersAddManagersReqCall) Do ¶ added in v1.1.48
func (rc *ChatManagersAddManagersReqCall) Do() (*ChatManagersAddManagersResult, error)
func (*ChatManagersAddManagersReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatManagersAddManagersReqCall) SetChatId(chatId string)
func (*ChatManagersAddManagersReqCall) SetMemberIdType ¶ added in v1.1.48
func (rc *ChatManagersAddManagersReqCall) SetMemberIdType(memberIdType string)
type ChatManagersAddManagersResult ¶ added in v1.1.48
type ChatManagersDeleteManagersReqBody ¶ added in v1.1.48
type ChatManagersDeleteManagersReqBody struct { ManagerIds []string `json:"manager_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatManagersDeleteManagersReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatManagersDeleteManagersReqBody) MarshalJSON() ([]byte, error)
type ChatManagersDeleteManagersReqCall ¶ added in v1.1.48
type ChatManagersDeleteManagersReqCall struct {
// contains filtered or unexported fields
}
func (*ChatManagersDeleteManagersReqCall) Do ¶ added in v1.1.48
func (rc *ChatManagersDeleteManagersReqCall) Do() (*ChatManagersDeleteManagersResult, error)
func (*ChatManagersDeleteManagersReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatManagersDeleteManagersReqCall) SetChatId(chatId string)
func (*ChatManagersDeleteManagersReqCall) SetMemberIdType ¶ added in v1.1.48
func (rc *ChatManagersDeleteManagersReqCall) SetMemberIdType(memberIdType string)
type ChatManagersDeleteManagersResult ¶ added in v1.1.48
type ChatManagersService ¶ added in v1.1.48
type ChatManagersService struct {
// contains filtered or unexported fields
}
func (*ChatManagersService) AddManagers ¶ added in v1.1.48
func (chatManagerss *ChatManagersService) AddManagers(ctx *core.Context, body *ChatManagersAddManagersReqBody, optFns ...request.OptFn) *ChatManagersAddManagersReqCall
func (*ChatManagersService) DeleteManagers ¶ added in v1.1.48
func (chatManagerss *ChatManagersService) DeleteManagers(ctx *core.Context, body *ChatManagersDeleteManagersReqBody, optFns ...request.OptFn) *ChatManagersDeleteManagersReqCall
type ChatMember ¶
type ChatMember struct { UserId string `json:"user_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMember) MarshalJSON ¶
func (s *ChatMember) MarshalJSON() ([]byte, error)
type ChatMemberBot ¶
type ChatMemberBot struct { BotId string `json:"bot_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMemberBot) MarshalJSON ¶
func (s *ChatMemberBot) MarshalJSON() ([]byte, error)
type ChatMemberBotAddedEvent ¶
type ChatMemberBotAddedEvent struct { *model.BaseEventV2 Event *ChatMemberBotAddedEventData `json:"event"` }
type ChatMemberBotAddedEventHandler ¶
type ChatMemberBotAddedEventHandler struct {
Fn func(*core.Context, *ChatMemberBotAddedEvent) error
}
func (*ChatMemberBotAddedEventHandler) GetEvent ¶
func (h *ChatMemberBotAddedEventHandler) GetEvent() interface{}
type ChatMemberBotDeletedEvent ¶
type ChatMemberBotDeletedEvent struct { *model.BaseEventV2 Event *ChatMemberBotDeletedEventData `json:"event"` }
type ChatMemberBotDeletedEventHandler ¶
type ChatMemberBotDeletedEventHandler struct {
Fn func(*core.Context, *ChatMemberBotDeletedEvent) error
}
func (*ChatMemberBotDeletedEventHandler) GetEvent ¶
func (h *ChatMemberBotDeletedEventHandler) GetEvent() interface{}
type ChatMemberBotService ¶
type ChatMemberBotService struct {
// contains filtered or unexported fields
}
type ChatMemberUser ¶
type ChatMemberUser struct { Name string `json:"name,omitempty"` TenantKey string `json:"tenant_key,omitempty"` UserId *UserId `json:"user_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMemberUser) MarshalJSON ¶
func (s *ChatMemberUser) MarshalJSON() ([]byte, error)
type ChatMemberUserAddedEvent ¶
type ChatMemberUserAddedEvent struct { *model.BaseEventV2 Event *ChatMemberUserAddedEventData `json:"event"` }
type ChatMemberUserAddedEventData ¶
type ChatMemberUserAddedEventData struct { ChatId string `json:"chat_id,omitempty"` OperatorId *UserId `json:"operator_id,omitempty"` External bool `json:"external,omitempty"` OperatorTenantKey string `json:"operator_tenant_key,omitempty"` Users []*ChatMemberUser `json:"users,omitempty"` }
type ChatMemberUserAddedEventHandler ¶
type ChatMemberUserAddedEventHandler struct {
Fn func(*core.Context, *ChatMemberUserAddedEvent) error
}
func (*ChatMemberUserAddedEventHandler) GetEvent ¶
func (h *ChatMemberUserAddedEventHandler) GetEvent() interface{}
type ChatMemberUserDeletedEvent ¶
type ChatMemberUserDeletedEvent struct { *model.BaseEventV2 Event *ChatMemberUserDeletedEventData `json:"event"` }
type ChatMemberUserDeletedEventData ¶
type ChatMemberUserDeletedEventData struct { ChatId string `json:"chat_id,omitempty"` OperatorId *UserId `json:"operator_id,omitempty"` External bool `json:"external,omitempty"` OperatorTenantKey string `json:"operator_tenant_key,omitempty"` Users []*ChatMemberUser `json:"users,omitempty"` }
type ChatMemberUserDeletedEventHandler ¶
type ChatMemberUserDeletedEventHandler struct {
Fn func(*core.Context, *ChatMemberUserDeletedEvent) error
}
func (*ChatMemberUserDeletedEventHandler) GetEvent ¶
func (h *ChatMemberUserDeletedEventHandler) GetEvent() interface{}
type ChatMemberUserService ¶
type ChatMemberUserService struct {
// contains filtered or unexported fields
}
type ChatMemberUserWithdrawnEvent ¶
type ChatMemberUserWithdrawnEvent struct { *model.BaseEventV2 Event *ChatMemberUserWithdrawnEventData `json:"event"` }
type ChatMemberUserWithdrawnEventData ¶
type ChatMemberUserWithdrawnEventData struct { ChatId string `json:"chat_id,omitempty"` OperatorId *UserId `json:"operator_id,omitempty"` External bool `json:"external,omitempty"` OperatorTenantKey string `json:"operator_tenant_key,omitempty"` Users []*ChatMemberUser `json:"users,omitempty"` }
type ChatMemberUserWithdrawnEventHandler ¶
type ChatMemberUserWithdrawnEventHandler struct {
Fn func(*core.Context, *ChatMemberUserWithdrawnEvent) error
}
func (*ChatMemberUserWithdrawnEventHandler) GetEvent ¶
func (h *ChatMemberUserWithdrawnEventHandler) GetEvent() interface{}
type ChatMembers ¶
type ChatMembers struct { UserId string `json:"user_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMembers) MarshalJSON ¶
func (s *ChatMembers) MarshalJSON() ([]byte, error)
type ChatMembersCreateReqBody ¶
type ChatMembersCreateReqBody struct { IdList []string `json:"id_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMembersCreateReqBody) MarshalJSON ¶
func (s *ChatMembersCreateReqBody) MarshalJSON() ([]byte, error)
type ChatMembersCreateReqCall ¶
type ChatMembersCreateReqCall struct {
// contains filtered or unexported fields
}
func (*ChatMembersCreateReqCall) Do ¶
func (rc *ChatMembersCreateReqCall) Do() (*ChatMembersCreateResult, error)
func (*ChatMembersCreateReqCall) SetChatId ¶
func (rc *ChatMembersCreateReqCall) SetChatId(chatId string)
func (*ChatMembersCreateReqCall) SetMemberIdType ¶
func (rc *ChatMembersCreateReqCall) SetMemberIdType(memberIdType string)
func (*ChatMembersCreateReqCall) SetSucceedType ¶ added in v1.1.48
func (rc *ChatMembersCreateReqCall) SetSucceedType(succeedType int)
type ChatMembersDeleteReqBody ¶
type ChatMembersDeleteReqBody struct { IdList []string `json:"id_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatMembersDeleteReqBody) MarshalJSON ¶
func (s *ChatMembersDeleteReqBody) MarshalJSON() ([]byte, error)
type ChatMembersDeleteReqCall ¶
type ChatMembersDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*ChatMembersDeleteReqCall) Do ¶
func (rc *ChatMembersDeleteReqCall) Do() (*ChatMembersDeleteResult, error)
func (*ChatMembersDeleteReqCall) SetChatId ¶
func (rc *ChatMembersDeleteReqCall) SetChatId(chatId string)
func (*ChatMembersDeleteReqCall) SetMemberIdType ¶
func (rc *ChatMembersDeleteReqCall) SetMemberIdType(memberIdType string)
type ChatMembersDeleteResult ¶
type ChatMembersDeleteResult struct {
InvalidIdList []string `json:"invalid_id_list,omitempty"`
}
type ChatMembersGetReqCall ¶
type ChatMembersGetReqCall struct {
// contains filtered or unexported fields
}
func (*ChatMembersGetReqCall) Do ¶
func (rc *ChatMembersGetReqCall) Do() (*ChatMembersGetResult, error)
func (*ChatMembersGetReqCall) SetChatId ¶
func (rc *ChatMembersGetReqCall) SetChatId(chatId string)
func (*ChatMembersGetReqCall) SetMemberIdType ¶
func (rc *ChatMembersGetReqCall) SetMemberIdType(memberIdType string)
func (*ChatMembersGetReqCall) SetPageSize ¶
func (rc *ChatMembersGetReqCall) SetPageSize(pageSize int)
func (*ChatMembersGetReqCall) SetPageToken ¶
func (rc *ChatMembersGetReqCall) SetPageToken(pageToken string)
type ChatMembersGetResult ¶
type ChatMembersGetResult struct { Items []*ListMember `json:"items,omitempty"` PageToken string `json:"page_token,omitempty"` HasMore bool `json:"has_more,omitempty"` MemberTotal int `json:"member_total,omitempty"` }
type ChatMembersIsInChatReqCall ¶
type ChatMembersIsInChatReqCall struct {
// contains filtered or unexported fields
}
func (*ChatMembersIsInChatReqCall) Do ¶
func (rc *ChatMembersIsInChatReqCall) Do() (*ChatMembersIsInChatResult, error)
func (*ChatMembersIsInChatReqCall) SetChatId ¶
func (rc *ChatMembersIsInChatReqCall) SetChatId(chatId string)
type ChatMembersIsInChatResult ¶
type ChatMembersIsInChatResult struct {
IsInChat bool `json:"is_in_chat,omitempty"`
}
type ChatMembersMeJoinReqCall ¶
type ChatMembersMeJoinReqCall struct {
// contains filtered or unexported fields
}
func (*ChatMembersMeJoinReqCall) Do ¶
func (rc *ChatMembersMeJoinReqCall) Do() (*response.NoData, error)
func (*ChatMembersMeJoinReqCall) SetChatId ¶
func (rc *ChatMembersMeJoinReqCall) SetChatId(chatId string)
type ChatMembersService ¶
type ChatMembersService struct {
// contains filtered or unexported fields
}
func (*ChatMembersService) Create ¶
func (chatMemberss *ChatMembersService) Create(ctx *core.Context, body *ChatMembersCreateReqBody, optFns ...request.OptFn) *ChatMembersCreateReqCall
func (*ChatMembersService) Delete ¶
func (chatMemberss *ChatMembersService) Delete(ctx *core.Context, body *ChatMembersDeleteReqBody, optFns ...request.OptFn) *ChatMembersDeleteReqCall
func (*ChatMembersService) Get ¶
func (chatMemberss *ChatMembersService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatMembersGetReqCall
func (*ChatMembersService) IsInChat ¶
func (chatMemberss *ChatMembersService) IsInChat(ctx *core.Context, optFns ...request.OptFn) *ChatMembersIsInChatReqCall
func (*ChatMembersService) MeJoin ¶
func (chatMemberss *ChatMembersService) MeJoin(ctx *core.Context, optFns ...request.OptFn) *ChatMembersMeJoinReqCall
type ChatModeration ¶
type ChatModeration struct { }
type ChatModerationGetReqCall ¶
type ChatModerationGetReqCall struct {
// contains filtered or unexported fields
}
func (*ChatModerationGetReqCall) Do ¶
func (rc *ChatModerationGetReqCall) Do() (*ChatModerationGetResult, error)
func (*ChatModerationGetReqCall) SetChatId ¶
func (rc *ChatModerationGetReqCall) SetChatId(chatId string)
func (*ChatModerationGetReqCall) SetPageSize ¶
func (rc *ChatModerationGetReqCall) SetPageSize(pageSize int)
func (*ChatModerationGetReqCall) SetPageToken ¶
func (rc *ChatModerationGetReqCall) SetPageToken(pageToken string)
func (*ChatModerationGetReqCall) SetUserIdType ¶
func (rc *ChatModerationGetReqCall) SetUserIdType(userIdType string)
type ChatModerationGetResult ¶
type ChatModerationGetResult struct { ModerationSetting string `json:"moderation_setting,omitempty"` PageToken string `json:"page_token,omitempty"` HasMore bool `json:"has_more,omitempty"` Items []*ListModerator `json:"items,omitempty"` }
type ChatModerationService ¶
type ChatModerationService struct {
// contains filtered or unexported fields
}
func (*ChatModerationService) Get ¶
func (chatModerations *ChatModerationService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatModerationGetReqCall
func (*ChatModerationService) Update ¶
func (chatModerations *ChatModerationService) Update(ctx *core.Context, body *ChatModerationUpdateReqBody, optFns ...request.OptFn) *ChatModerationUpdateReqCall
type ChatModerationUpdateReqBody ¶
type ChatModerationUpdateReqBody struct { ModerationSetting string `json:"moderation_setting,omitempty"` ModeratorAddedList []string `json:"moderator_added_list,omitempty"` ModeratorRemovedList []string `json:"moderator_removed_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatModerationUpdateReqBody) MarshalJSON ¶
func (s *ChatModerationUpdateReqBody) MarshalJSON() ([]byte, error)
type ChatModerationUpdateReqCall ¶
type ChatModerationUpdateReqCall struct {
// contains filtered or unexported fields
}
func (*ChatModerationUpdateReqCall) Do ¶
func (rc *ChatModerationUpdateReqCall) Do() (*response.NoData, error)
func (*ChatModerationUpdateReqCall) SetChatId ¶
func (rc *ChatModerationUpdateReqCall) SetChatId(chatId string)
func (*ChatModerationUpdateReqCall) SetUserIdType ¶
func (rc *ChatModerationUpdateReqCall) SetUserIdType(userIdType string)
type ChatSearchReqCall ¶
type ChatSearchReqCall struct {
// contains filtered or unexported fields
}
func (*ChatSearchReqCall) Do ¶
func (rc *ChatSearchReqCall) Do() (*ChatSearchResult, error)
func (*ChatSearchReqCall) SetPageSize ¶
func (rc *ChatSearchReqCall) SetPageSize(pageSize int)
func (*ChatSearchReqCall) SetPageToken ¶
func (rc *ChatSearchReqCall) SetPageToken(pageToken string)
func (*ChatSearchReqCall) SetQuery ¶
func (rc *ChatSearchReqCall) SetQuery(query string)
func (*ChatSearchReqCall) SetUserIdType ¶
func (rc *ChatSearchReqCall) SetUserIdType(userIdType string)
type ChatSearchResult ¶
type ChatService ¶
type ChatService struct {
// contains filtered or unexported fields
}
func (*ChatService) Create ¶
func (chats *ChatService) Create(ctx *core.Context, body *ChatCreateReqBody, optFns ...request.OptFn) *ChatCreateReqCall
func (*ChatService) Delete ¶
func (chats *ChatService) Delete(ctx *core.Context, optFns ...request.OptFn) *ChatDeleteReqCall
func (*ChatService) Get ¶
func (chats *ChatService) Get(ctx *core.Context, optFns ...request.OptFn) *ChatGetReqCall
func (*ChatService) List ¶
func (chats *ChatService) List(ctx *core.Context, optFns ...request.OptFn) *ChatListReqCall
func (*ChatService) Search ¶
func (chats *ChatService) Search(ctx *core.Context, optFns ...request.OptFn) *ChatSearchReqCall
func (*ChatService) Update ¶
func (chats *ChatService) Update(ctx *core.Context, body *ChatUpdateReqBody, optFns ...request.OptFn) *ChatUpdateReqCall
type ChatTab ¶ added in v1.1.48
type ChatTab struct { TabId string `json:"tab_id,omitempty"` TabName string `json:"tab_name,omitempty"` TabType string `json:"tab_type,omitempty"` TabContent *ChatTabContent `json:"tab_content,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTab) MarshalJSON ¶ added in v1.1.48
type ChatTabContent ¶ added in v1.1.48
type ChatTabContent struct { Url string `json:"url,omitempty"` Doc string `json:"doc,omitempty"` MeetingMinute string `json:"meeting_minute,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTabContent) MarshalJSON ¶ added in v1.1.48
func (s *ChatTabContent) MarshalJSON() ([]byte, error)
type ChatTabCreateReqBody ¶ added in v1.1.48
type ChatTabCreateReqBody struct { ChatTabs []*ChatTab `json:"chat_tabs,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTabCreateReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatTabCreateReqBody) MarshalJSON() ([]byte, error)
type ChatTabCreateReqCall ¶ added in v1.1.48
type ChatTabCreateReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTabCreateReqCall) Do ¶ added in v1.1.48
func (rc *ChatTabCreateReqCall) Do() (*ChatTabCreateResult, error)
func (*ChatTabCreateReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTabCreateReqCall) SetChatId(chatId string)
type ChatTabCreateResult ¶ added in v1.1.48
type ChatTabCreateResult struct {
ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}
type ChatTabDeleteTabsReqBody ¶ added in v1.1.48
type ChatTabDeleteTabsReqBody struct { TabIds []string `json:"tab_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTabDeleteTabsReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatTabDeleteTabsReqBody) MarshalJSON() ([]byte, error)
type ChatTabDeleteTabsReqCall ¶ added in v1.1.48
type ChatTabDeleteTabsReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTabDeleteTabsReqCall) Do ¶ added in v1.1.48
func (rc *ChatTabDeleteTabsReqCall) Do() (*ChatTabDeleteTabsResult, error)
func (*ChatTabDeleteTabsReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTabDeleteTabsReqCall) SetChatId(chatId string)
type ChatTabDeleteTabsResult ¶ added in v1.1.48
type ChatTabDeleteTabsResult struct {
ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}
type ChatTabListTabsReqCall ¶ added in v1.1.48
type ChatTabListTabsReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTabListTabsReqCall) Do ¶ added in v1.1.48
func (rc *ChatTabListTabsReqCall) Do() (*ChatTabListTabsResult, error)
func (*ChatTabListTabsReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTabListTabsReqCall) SetChatId(chatId string)
type ChatTabListTabsResult ¶ added in v1.1.48
type ChatTabListTabsResult struct {
ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}
type ChatTabService ¶ added in v1.1.48
type ChatTabService struct {
// contains filtered or unexported fields
}
func (*ChatTabService) Create ¶ added in v1.1.48
func (chatTabs *ChatTabService) Create(ctx *core.Context, body *ChatTabCreateReqBody, optFns ...request.OptFn) *ChatTabCreateReqCall
func (*ChatTabService) DeleteTabs ¶ added in v1.1.48
func (chatTabs *ChatTabService) DeleteTabs(ctx *core.Context, body *ChatTabDeleteTabsReqBody, optFns ...request.OptFn) *ChatTabDeleteTabsReqCall
func (*ChatTabService) ListTabs ¶ added in v1.1.48
func (chatTabs *ChatTabService) ListTabs(ctx *core.Context, optFns ...request.OptFn) *ChatTabListTabsReqCall
func (*ChatTabService) SortTabs ¶ added in v1.1.48
func (chatTabs *ChatTabService) SortTabs(ctx *core.Context, body *ChatTabSortTabsReqBody, optFns ...request.OptFn) *ChatTabSortTabsReqCall
func (*ChatTabService) UpdateTabs ¶ added in v1.1.48
func (chatTabs *ChatTabService) UpdateTabs(ctx *core.Context, body *ChatTabUpdateTabsReqBody, optFns ...request.OptFn) *ChatTabUpdateTabsReqCall
type ChatTabSortTabsReqBody ¶ added in v1.1.48
type ChatTabSortTabsReqBody struct { TabIds []string `json:"tab_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTabSortTabsReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatTabSortTabsReqBody) MarshalJSON() ([]byte, error)
type ChatTabSortTabsReqCall ¶ added in v1.1.48
type ChatTabSortTabsReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTabSortTabsReqCall) Do ¶ added in v1.1.48
func (rc *ChatTabSortTabsReqCall) Do() (*ChatTabSortTabsResult, error)
func (*ChatTabSortTabsReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTabSortTabsReqCall) SetChatId(chatId string)
type ChatTabSortTabsResult ¶ added in v1.1.48
type ChatTabSortTabsResult struct {
ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}
type ChatTabUpdateTabsReqBody ¶ added in v1.1.48
type ChatTabUpdateTabsReqBody struct { ChatTabs []*ChatTab `json:"chat_tabs,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTabUpdateTabsReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatTabUpdateTabsReqBody) MarshalJSON() ([]byte, error)
type ChatTabUpdateTabsReqCall ¶ added in v1.1.48
type ChatTabUpdateTabsReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTabUpdateTabsReqCall) Do ¶ added in v1.1.48
func (rc *ChatTabUpdateTabsReqCall) Do() (*ChatTabUpdateTabsResult, error)
func (*ChatTabUpdateTabsReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTabUpdateTabsReqCall) SetChatId(chatId string)
type ChatTabUpdateTabsResult ¶ added in v1.1.48
type ChatTabUpdateTabsResult struct {
ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}
type ChatTopNotice ¶ added in v1.1.48
type ChatTopNotice struct { ActionType string `json:"action_type,omitempty"` MessageId string `json:"message_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTopNotice) MarshalJSON ¶ added in v1.1.48
func (s *ChatTopNotice) MarshalJSON() ([]byte, error)
type ChatTopNoticeDeleteTopNoticeReqCall ¶ added in v1.1.48
type ChatTopNoticeDeleteTopNoticeReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTopNoticeDeleteTopNoticeReqCall) Do ¶ added in v1.1.48
func (rc *ChatTopNoticeDeleteTopNoticeReqCall) Do() (*response.NoData, error)
func (*ChatTopNoticeDeleteTopNoticeReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTopNoticeDeleteTopNoticeReqCall) SetChatId(chatId string)
type ChatTopNoticePutTopNoticeReqBody ¶ added in v1.1.48
type ChatTopNoticePutTopNoticeReqBody struct { ChatTopNotice []*ChatTopNotice `json:"chat_top_notice,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatTopNoticePutTopNoticeReqBody) MarshalJSON ¶ added in v1.1.48
func (s *ChatTopNoticePutTopNoticeReqBody) MarshalJSON() ([]byte, error)
type ChatTopNoticePutTopNoticeReqCall ¶ added in v1.1.48
type ChatTopNoticePutTopNoticeReqCall struct {
// contains filtered or unexported fields
}
func (*ChatTopNoticePutTopNoticeReqCall) Do ¶ added in v1.1.48
func (rc *ChatTopNoticePutTopNoticeReqCall) Do() (*response.NoData, error)
func (*ChatTopNoticePutTopNoticeReqCall) SetChatId ¶ added in v1.1.48
func (rc *ChatTopNoticePutTopNoticeReqCall) SetChatId(chatId string)
type ChatTopNoticeService ¶ added in v1.1.48
type ChatTopNoticeService struct {
// contains filtered or unexported fields
}
func (*ChatTopNoticeService) DeleteTopNotice ¶ added in v1.1.48
func (chatTopNotices *ChatTopNoticeService) DeleteTopNotice(ctx *core.Context, optFns ...request.OptFn) *ChatTopNoticeDeleteTopNoticeReqCall
func (*ChatTopNoticeService) PutTopNotice ¶ added in v1.1.48
func (chatTopNotices *ChatTopNoticeService) PutTopNotice(ctx *core.Context, body *ChatTopNoticePutTopNoticeReqBody, optFns ...request.OptFn) *ChatTopNoticePutTopNoticeReqCall
type ChatUpdateReqBody ¶
type ChatUpdateReqBody struct { Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` I18nNames *I18nNames `json:"i18n_names,omitempty"` AddMemberPermission string `json:"add_member_permission,omitempty"` AtAllPermission string `json:"at_all_permission,omitempty"` EditPermission string `json:"edit_permission,omitempty"` OwnerId string `json:"owner_id,omitempty"` JoinMessageVisibility string `json:"join_message_visibility,omitempty"` LeaveMessageVisibility string `json:"leave_message_visibility,omitempty"` MembershipApproval string `json:"membership_approval,omitempty"` Labels []string `json:"labels,omitempty"` ToolkitIds []int64 `json:"toolkit_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*ChatUpdateReqBody) MarshalJSON ¶
func (s *ChatUpdateReqBody) MarshalJSON() ([]byte, error)
type ChatUpdateReqCall ¶
type ChatUpdateReqCall struct {
// contains filtered or unexported fields
}
func (*ChatUpdateReqCall) SetChatId ¶
func (rc *ChatUpdateReqCall) SetChatId(chatId string)
func (*ChatUpdateReqCall) SetUserIdType ¶
func (rc *ChatUpdateReqCall) SetUserIdType(userIdType string)
type ChatUpdatedEvent ¶
type ChatUpdatedEvent struct { *model.BaseEventV2 Event *ChatUpdatedEventData `json:"event"` }
type ChatUpdatedEventData ¶
type ChatUpdatedEventData struct { ChatId string `json:"chat_id,omitempty"` OperatorId *UserId `json:"operator_id,omitempty"` External bool `json:"external,omitempty"` OperatorTenantKey string `json:"operator_tenant_key,omitempty"` AfterChange *ChatChange `json:"after_change,omitempty"` BeforeChange *ChatChange `json:"before_change,omitempty"` ModeratorList *ModeratorList `json:"moderator_list,omitempty"` }
type ChatUpdatedEventHandler ¶
type ChatUpdatedEventHandler struct {
Fn func(*core.Context, *ChatUpdatedEvent) error
}
func (*ChatUpdatedEventHandler) GetEvent ¶
func (h *ChatUpdatedEventHandler) GetEvent() interface{}
type Emoji ¶
type Emoji struct { EmojiType string `json:"emoji_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*Emoji) MarshalJSON ¶
type EventMessage ¶
type EventMessage struct { MessageId string `json:"message_id,omitempty"` RootId string `json:"root_id,omitempty"` ParentId string `json:"parent_id,omitempty"` CreateTime int64 `json:"create_time,omitempty,string"` ChatId string `json:"chat_id,omitempty"` ChatType string `json:"chat_type,omitempty"` MessageType string `json:"message_type,omitempty"` Content string `json:"content,omitempty"` Mentions []*MentionEvent `json:"mentions,omitempty"` ForceSendFields []string `json:"-"` }
func (*EventMessage) MarshalJSON ¶
func (s *EventMessage) MarshalJSON() ([]byte, error)
type EventMessageReader ¶
type EventMessageReader struct { ReaderId *UserId `json:"reader_id,omitempty"` ReadTime string `json:"read_time,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*EventMessageReader) MarshalJSON ¶
func (s *EventMessageReader) MarshalJSON() ([]byte, error)
type EventSender ¶
type EventSender struct { SenderId *UserId `json:"sender_id,omitempty"` SenderType string `json:"sender_type,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*EventSender) MarshalJSON ¶
func (s *EventSender) MarshalJSON() ([]byte, error)
type FileCreateReqCall ¶
type FileCreateReqCall struct {
// contains filtered or unexported fields
}
func (*FileCreateReqCall) Do ¶
func (rc *FileCreateReqCall) Do() (*FileCreateResult, error)
func (*FileCreateReqCall) SetDuration ¶
func (rc *FileCreateReqCall) SetDuration(duration int)
func (*FileCreateReqCall) SetFile ¶
func (rc *FileCreateReqCall) SetFile(file *request.File)
func (*FileCreateReqCall) SetFileName ¶
func (rc *FileCreateReqCall) SetFileName(fileName string)
func (*FileCreateReqCall) SetFileType ¶
func (rc *FileCreateReqCall) SetFileType(fileType string)
type FileCreateResult ¶
type FileCreateResult struct {
FileKey string `json:"file_key,omitempty"`
}
type FileGetReqCall ¶
type FileGetReqCall struct {
// contains filtered or unexported fields
}
func (*FileGetReqCall) SetFileKey ¶
func (rc *FileGetReqCall) SetFileKey(fileKey string)
func (*FileGetReqCall) SetResponseStream ¶
func (rc *FileGetReqCall) SetResponseStream(result io.Writer)
type FileService ¶
type FileService struct {
// contains filtered or unexported fields
}
func (*FileService) Create ¶
func (files *FileService) Create(ctx *core.Context, optFns ...request.OptFn) *FileCreateReqCall
func (*FileService) Get ¶
func (files *FileService) Get(ctx *core.Context, optFns ...request.OptFn) *FileGetReqCall
type I18nNames ¶
type I18nNames struct { ZhCn string `json:"zh_cn,omitempty"` EnUs string `json:"en_us,omitempty"` JaJp string `json:"ja_jp,omitempty"` ForceSendFields []string `json:"-"` }
func (*I18nNames) MarshalJSON ¶
type ImDepthData ¶ added in v1.1.48
type ImDepthData struct { PDate string `json:"p_date,omitempty"` DepartmentId string `json:"department_id,omitempty"` DepartmentPath string `json:"department_path,omitempty"` SendMsgRate float64 `json:"send_msg_rate,omitempty"` AvgSendMsgCnt float64 `json:"avg_send_msg_cnt,omitempty"` PcSendMsgRate float64 `json:"pc_send_msg_rate,omitempty"` PcAvgSendMsgCnt float64 `json:"pc_avg_send_msg_cnt,omitempty"` MobileSendMsgRate float64 `json:"mobile_send_msg_rate,omitempty"` MobileAvgSendMsgCnt float64 `json:"mobile_avg_send_msg_cnt,omitempty"` MeetingGroupSendMsgRate float64 `json:"meeting_group_send_msg_rate,omitempty"` TenantGroupSendMsgRate float64 `json:"tenant_group_send_msg_rate,omitempty"` DeptGroupSendMsgRate float64 `json:"dept_group_send_msg_rate,omitempty"` TopicGroupSendMsgRate float64 `json:"topic_group_send_msg_rate,omitempty"` GroupAtMsgRate float64 `json:"group_at_msg_rate,omitempty"` GroupReplyMsgRate float64 `json:"group_reply_msg_rate,omitempty"` ReactionRate float64 `json:"reaction_rate,omitempty"` P2pSendMsgRate float64 `json:"p2p_send_msg_rate,omitempty"` ImgSendMsgRate float64 `json:"img_send_msg_rate,omitempty"` FileSendMsgRate float64 `json:"file_send_msg_rate,omitempty"` StickerSendMsgRate float64 `json:"sticker_send_msg_rate,omitempty"` PostSendMsgRate float64 `json:"post_send_msg_rate,omitempty"` ForceSendFields []string `json:"-"` }
func (*ImDepthData) MarshalJSON ¶ added in v1.1.48
func (s *ImDepthData) MarshalJSON() ([]byte, error)
type ImageCreateReqCall ¶
type ImageCreateReqCall struct {
// contains filtered or unexported fields
}
func (*ImageCreateReqCall) Do ¶
func (rc *ImageCreateReqCall) Do() (*ImageCreateResult, error)
func (*ImageCreateReqCall) SetImage ¶
func (rc *ImageCreateReqCall) SetImage(image *request.File)
func (*ImageCreateReqCall) SetImageType ¶
func (rc *ImageCreateReqCall) SetImageType(imageType string)
type ImageCreateResult ¶
type ImageCreateResult struct {
ImageKey string `json:"image_key,omitempty"`
}
type ImageGetReqCall ¶
type ImageGetReqCall struct {
// contains filtered or unexported fields
}
func (*ImageGetReqCall) SetImageKey ¶
func (rc *ImageGetReqCall) SetImageKey(imageKey string)
func (*ImageGetReqCall) SetResponseStream ¶
func (rc *ImageGetReqCall) SetResponseStream(result io.Writer)
type ImageService ¶
type ImageService struct {
// contains filtered or unexported fields
}
func (*ImageService) Create ¶
func (images *ImageService) Create(ctx *core.Context, optFns ...request.OptFn) *ImageCreateReqCall
func (*ImageService) Get ¶
func (images *ImageService) Get(ctx *core.Context, optFns ...request.OptFn) *ImageGetReqCall
type ListChat ¶
type ListChat struct { ChatId string `json:"chat_id,omitempty"` Avatar string `json:"avatar,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` OwnerId string `json:"owner_id,omitempty"` OwnerIdType string `json:"owner_id_type,omitempty"` External bool `json:"external,omitempty"` TenantKey string `json:"tenant_key,omitempty"` Labels []string `json:"labels,omitempty"` ForceSendFields []string `json:"-"` }
func (*ListChat) MarshalJSON ¶
type ListEventModerator ¶
type ListEventModerator struct { TenantKey string `json:"tenant_key,omitempty"` UserId *UserId `json:"user_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*ListEventModerator) MarshalJSON ¶
func (s *ListEventModerator) MarshalJSON() ([]byte, error)
type ListMember ¶
type ListMember struct { MemberIdType string `json:"member_id_type,omitempty"` MemberId string `json:"member_id,omitempty"` Name string `json:"name,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*ListMember) MarshalJSON ¶
func (s *ListMember) MarshalJSON() ([]byte, error)
type ListModerator ¶
type ListModerator struct { UserIdType string `json:"user_id_type,omitempty"` UserId string `json:"user_id,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*ListModerator) MarshalJSON ¶
func (s *ListModerator) MarshalJSON() ([]byte, error)
type Mention ¶
type Mention struct { Key string `json:"key,omitempty"` Id string `json:"id,omitempty"` IdType string `json:"id_type,omitempty"` Name string `json:"name,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*Mention) MarshalJSON ¶
type MentionEvent ¶
type MentionEvent struct { Key string `json:"key,omitempty"` Id *UserId `json:"id,omitempty"` Name string `json:"name,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*MentionEvent) MarshalJSON ¶
func (s *MentionEvent) MarshalJSON() ([]byte, error)
type Message ¶
type Message struct { MessageId string `json:"message_id,omitempty"` RootId string `json:"root_id,omitempty"` ParentId string `json:"parent_id,omitempty"` MsgType string `json:"msg_type,omitempty"` CreateTime int64 `json:"create_time,omitempty,string"` UpdateTime int64 `json:"update_time,omitempty,string"` Deleted bool `json:"deleted,omitempty"` Updated bool `json:"updated,omitempty"` ChatId string `json:"chat_id,omitempty"` Sender *Sender `json:"sender,omitempty"` Body *MessageBody `json:"body,omitempty"` Mentions []*Mention `json:"mentions,omitempty"` UpperMessageId string `json:"upper_message_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*Message) MarshalJSON ¶
type MessageBody ¶
type MessageBody struct { Content string `json:"content,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageBody) MarshalJSON ¶
func (s *MessageBody) MarshalJSON() ([]byte, error)
type MessageCreateReqBody ¶
type MessageCreateReqBody struct { ReceiveId string `json:"receive_id,omitempty"` Content string `json:"content,omitempty"` MsgType string `json:"msg_type,omitempty"` Uuid string `json:"uuid,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageCreateReqBody) MarshalJSON ¶
func (s *MessageCreateReqBody) MarshalJSON() ([]byte, error)
type MessageCreateReqCall ¶
type MessageCreateReqCall struct {
// contains filtered or unexported fields
}
func (*MessageCreateReqCall) Do ¶
func (rc *MessageCreateReqCall) Do() (*MessageCreateResult, error)
func (*MessageCreateReqCall) SetReceiveIdType ¶
func (rc *MessageCreateReqCall) SetReceiveIdType(receiveIdType string)
type MessageCreateResult ¶ added in v1.1.48
type MessageCreateResult struct { MessageId string `json:"message_id,omitempty"` RootId string `json:"root_id,omitempty"` ParentId string `json:"parent_id,omitempty"` MsgType string `json:"msg_type,omitempty"` CreateTime int64 `json:"create_time,omitempty,string"` UpdateTime int64 `json:"update_time,omitempty,string"` Deleted bool `json:"deleted,omitempty"` Updated bool `json:"updated,omitempty"` ChatId string `json:"chat_id,omitempty"` Sender *Sender `json:"sender,omitempty"` Body *MessageBody `json:"body,omitempty"` Mentions []*Mention `json:"mentions,omitempty"` UpperMessageId string `json:"upper_message_id,omitempty"` }
type MessageDeleteReqCall ¶
type MessageDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*MessageDeleteReqCall) SetMessageId ¶
func (rc *MessageDeleteReqCall) SetMessageId(messageId string)
type MessageGetReqCall ¶
type MessageGetReqCall struct {
// contains filtered or unexported fields
}
func (*MessageGetReqCall) Do ¶
func (rc *MessageGetReqCall) Do() (*MessageGetResult, error)
func (*MessageGetReqCall) SetMessageId ¶
func (rc *MessageGetReqCall) SetMessageId(messageId string)
type MessageGetResult ¶
type MessageGetResult struct {
Items []*Message `json:"items,omitempty"`
}
type MessageListReqCall ¶
type MessageListReqCall struct {
// contains filtered or unexported fields
}
func (*MessageListReqCall) Do ¶
func (rc *MessageListReqCall) Do() (*MessageListResult, error)
func (*MessageListReqCall) SetContainerId ¶
func (rc *MessageListReqCall) SetContainerId(containerId string)
func (*MessageListReqCall) SetContainerIdType ¶
func (rc *MessageListReqCall) SetContainerIdType(containerIdType string)
func (*MessageListReqCall) SetEndTime ¶
func (rc *MessageListReqCall) SetEndTime(endTime string)
func (*MessageListReqCall) SetPageSize ¶
func (rc *MessageListReqCall) SetPageSize(pageSize int)
func (*MessageListReqCall) SetPageToken ¶
func (rc *MessageListReqCall) SetPageToken(pageToken string)
func (*MessageListReqCall) SetStartTime ¶
func (rc *MessageListReqCall) SetStartTime(startTime string)
type MessageListResult ¶
type MessageMessageReadEvent ¶
type MessageMessageReadEvent struct { *model.BaseEventV2 Event *MessageMessageReadEventData `json:"event"` }
type MessageMessageReadEventData ¶
type MessageMessageReadEventData struct { Reader *EventMessageReader `json:"reader,omitempty"` MessageIdList []string `json:"message_id_list,omitempty"` }
type MessageMessageReadEventHandler ¶
type MessageMessageReadEventHandler struct {
Fn func(*core.Context, *MessageMessageReadEvent) error
}
func (*MessageMessageReadEventHandler) GetEvent ¶
func (h *MessageMessageReadEventHandler) GetEvent() interface{}
type MessagePatchReqBody ¶
type MessagePatchReqBody struct { Content string `json:"content,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessagePatchReqBody) MarshalJSON ¶
func (s *MessagePatchReqBody) MarshalJSON() ([]byte, error)
type MessagePatchReqCall ¶
type MessagePatchReqCall struct {
// contains filtered or unexported fields
}
func (*MessagePatchReqCall) SetMessageId ¶
func (rc *MessagePatchReqCall) SetMessageId(messageId string)
type MessageReaction ¶
type MessageReaction struct { ReactionId string `json:"reaction_id,omitempty"` Operator *Operator `json:"operator,omitempty"` ActionTime int64 `json:"action_time,omitempty,string"` ReactionType *Emoji `json:"reaction_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageReaction) MarshalJSON ¶
func (s *MessageReaction) MarshalJSON() ([]byte, error)
type MessageReactionCreateReqBody ¶ added in v1.1.48
type MessageReactionCreateReqBody struct { ReactionType *Emoji `json:"reaction_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageReactionCreateReqBody) MarshalJSON ¶ added in v1.1.48
func (s *MessageReactionCreateReqBody) MarshalJSON() ([]byte, error)
type MessageReactionCreateReqCall ¶
type MessageReactionCreateReqCall struct {
// contains filtered or unexported fields
}
func (*MessageReactionCreateReqCall) Do ¶
func (rc *MessageReactionCreateReqCall) Do() (*MessageReactionCreateResult, error)
func (*MessageReactionCreateReqCall) SetMessageId ¶
func (rc *MessageReactionCreateReqCall) SetMessageId(messageId string)
type MessageReactionCreateResult ¶ added in v1.1.48
type MessageReactionCreatedEvent ¶
type MessageReactionCreatedEvent struct { *model.BaseEventV2 Event *MessageReactionCreatedEventData `json:"event"` }
type MessageReactionCreatedEventData ¶
type MessageReactionCreatedEventData struct { MessageId string `json:"message_id,omitempty"` ReactionType *Emoji `json:"reaction_type,omitempty"` OperatorType string `json:"operator_type,omitempty"` UserId *UserId `json:"user_id,omitempty"` AppId string `json:"app_id,omitempty"` ActionTime string `json:"action_time,omitempty"` }
type MessageReactionCreatedEventHandler ¶
type MessageReactionCreatedEventHandler struct {
Fn func(*core.Context, *MessageReactionCreatedEvent) error
}
func (*MessageReactionCreatedEventHandler) GetEvent ¶
func (h *MessageReactionCreatedEventHandler) GetEvent() interface{}
type MessageReactionDeleteReqCall ¶
type MessageReactionDeleteReqCall struct {
// contains filtered or unexported fields
}
func (*MessageReactionDeleteReqCall) Do ¶
func (rc *MessageReactionDeleteReqCall) Do() (*MessageReactionDeleteResult, error)
func (*MessageReactionDeleteReqCall) SetMessageId ¶
func (rc *MessageReactionDeleteReqCall) SetMessageId(messageId string)
func (*MessageReactionDeleteReqCall) SetReactionId ¶
func (rc *MessageReactionDeleteReqCall) SetReactionId(reactionId string)
type MessageReactionDeleteResult ¶ added in v1.1.48
type MessageReactionDeletedEvent ¶
type MessageReactionDeletedEvent struct { *model.BaseEventV2 Event *MessageReactionDeletedEventData `json:"event"` }
type MessageReactionDeletedEventData ¶
type MessageReactionDeletedEventData struct { MessageId string `json:"message_id,omitempty"` ReactionType *Emoji `json:"reaction_type,omitempty"` OperatorType string `json:"operator_type,omitempty"` UserId *UserId `json:"user_id,omitempty"` AppId string `json:"app_id,omitempty"` ActionTime string `json:"action_time,omitempty"` }
type MessageReactionDeletedEventHandler ¶
type MessageReactionDeletedEventHandler struct {
Fn func(*core.Context, *MessageReactionDeletedEvent) error
}
func (*MessageReactionDeletedEventHandler) GetEvent ¶
func (h *MessageReactionDeletedEventHandler) GetEvent() interface{}
type MessageReactionListReqCall ¶
type MessageReactionListReqCall struct {
// contains filtered or unexported fields
}
func (*MessageReactionListReqCall) Do ¶
func (rc *MessageReactionListReqCall) Do() (*MessageReactionListResult, error)
func (*MessageReactionListReqCall) SetMessageId ¶
func (rc *MessageReactionListReqCall) SetMessageId(messageId string)
func (*MessageReactionListReqCall) SetPageSize ¶
func (rc *MessageReactionListReqCall) SetPageSize(pageSize int)
func (*MessageReactionListReqCall) SetPageToken ¶
func (rc *MessageReactionListReqCall) SetPageToken(pageToken string)
func (*MessageReactionListReqCall) SetReactionType ¶
func (rc *MessageReactionListReqCall) SetReactionType(reactionType string)
func (*MessageReactionListReqCall) SetUserIdType ¶ added in v1.1.48
func (rc *MessageReactionListReqCall) SetUserIdType(userIdType string)
type MessageReactionListResult ¶
type MessageReactionListResult struct { Items []*MessageReaction `json:"items,omitempty"` HasMore bool `json:"has_more,omitempty"` PageToken string `json:"page_token,omitempty"` }
type MessageReactionService ¶
type MessageReactionService struct {
// contains filtered or unexported fields
}
func (*MessageReactionService) Create ¶
func (messageReactions *MessageReactionService) Create(ctx *core.Context, body *MessageReactionCreateReqBody, optFns ...request.OptFn) *MessageReactionCreateReqCall
func (*MessageReactionService) Delete ¶
func (messageReactions *MessageReactionService) Delete(ctx *core.Context, optFns ...request.OptFn) *MessageReactionDeleteReqCall
func (*MessageReactionService) List ¶
func (messageReactions *MessageReactionService) List(ctx *core.Context, optFns ...request.OptFn) *MessageReactionListReqCall
type MessageReadUsersReqCall ¶
type MessageReadUsersReqCall struct {
// contains filtered or unexported fields
}
func (*MessageReadUsersReqCall) Do ¶
func (rc *MessageReadUsersReqCall) Do() (*MessageReadUsersResult, error)
func (*MessageReadUsersReqCall) SetMessageId ¶
func (rc *MessageReadUsersReqCall) SetMessageId(messageId string)
func (*MessageReadUsersReqCall) SetPageSize ¶
func (rc *MessageReadUsersReqCall) SetPageSize(pageSize int)
func (*MessageReadUsersReqCall) SetPageToken ¶
func (rc *MessageReadUsersReqCall) SetPageToken(pageToken string)
func (*MessageReadUsersReqCall) SetUserIdType ¶
func (rc *MessageReadUsersReqCall) SetUserIdType(userIdType string)
type MessageReadUsersResult ¶
type MessageReceiveEvent ¶
type MessageReceiveEvent struct { *model.BaseEventV2 Event *MessageReceiveEventData `json:"event"` }
type MessageReceiveEventData ¶
type MessageReceiveEventData struct { Sender *EventSender `json:"sender,omitempty"` Message *EventMessage `json:"message,omitempty"` }
type MessageReceiveEventHandler ¶
type MessageReceiveEventHandler struct {
Fn func(*core.Context, *MessageReceiveEvent) error
}
func (*MessageReceiveEventHandler) GetEvent ¶
func (h *MessageReceiveEventHandler) GetEvent() interface{}
type MessageReplyReqBody ¶
type MessageReplyReqBody struct { Content string `json:"content,omitempty"` MsgType string `json:"msg_type,omitempty"` Uuid string `json:"uuid,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageReplyReqBody) MarshalJSON ¶
func (s *MessageReplyReqBody) MarshalJSON() ([]byte, error)
type MessageReplyReqCall ¶
type MessageReplyReqCall struct {
// contains filtered or unexported fields
}
func (*MessageReplyReqCall) Do ¶
func (rc *MessageReplyReqCall) Do() (*MessageReplyResult, error)
func (*MessageReplyReqCall) SetMessageId ¶
func (rc *MessageReplyReqCall) SetMessageId(messageId string)
type MessageReplyResult ¶ added in v1.1.48
type MessageReplyResult struct { MessageId string `json:"message_id,omitempty"` RootId string `json:"root_id,omitempty"` ParentId string `json:"parent_id,omitempty"` MsgType string `json:"msg_type,omitempty"` CreateTime int64 `json:"create_time,omitempty,string"` UpdateTime int64 `json:"update_time,omitempty,string"` Deleted bool `json:"deleted,omitempty"` Updated bool `json:"updated,omitempty"` ChatId string `json:"chat_id,omitempty"` Sender *Sender `json:"sender,omitempty"` Body *MessageBody `json:"body,omitempty"` Mentions []*Mention `json:"mentions,omitempty"` UpperMessageId string `json:"upper_message_id,omitempty"` }
type MessageResource ¶
type MessageResource struct { }
type MessageResourceGetReqCall ¶
type MessageResourceGetReqCall struct {
// contains filtered or unexported fields
}
func (*MessageResourceGetReqCall) Do ¶
func (rc *MessageResourceGetReqCall) Do() (io.Writer, error)
func (*MessageResourceGetReqCall) SetFileKey ¶
func (rc *MessageResourceGetReqCall) SetFileKey(fileKey string)
func (*MessageResourceGetReqCall) SetMessageId ¶
func (rc *MessageResourceGetReqCall) SetMessageId(messageId string)
func (*MessageResourceGetReqCall) SetResponseStream ¶
func (rc *MessageResourceGetReqCall) SetResponseStream(result io.Writer)
func (*MessageResourceGetReqCall) SetType ¶
func (rc *MessageResourceGetReqCall) SetType(type1 string)
type MessageResourceService ¶
type MessageResourceService struct {
// contains filtered or unexported fields
}
func (*MessageResourceService) Get ¶
func (messageResources *MessageResourceService) Get(ctx *core.Context, optFns ...request.OptFn) *MessageResourceGetReqCall
type MessageService ¶
type MessageService struct {
// contains filtered or unexported fields
}
func (*MessageService) Create ¶
func (messages *MessageService) Create(ctx *core.Context, body *MessageCreateReqBody, optFns ...request.OptFn) *MessageCreateReqCall
func (*MessageService) Delete ¶
func (messages *MessageService) Delete(ctx *core.Context, optFns ...request.OptFn) *MessageDeleteReqCall
func (*MessageService) Get ¶
func (messages *MessageService) Get(ctx *core.Context, optFns ...request.OptFn) *MessageGetReqCall
func (*MessageService) List ¶
func (messages *MessageService) List(ctx *core.Context, optFns ...request.OptFn) *MessageListReqCall
func (*MessageService) Patch ¶
func (messages *MessageService) Patch(ctx *core.Context, body *MessagePatchReqBody, optFns ...request.OptFn) *MessagePatchReqCall
func (*MessageService) ReadUsers ¶
func (messages *MessageService) ReadUsers(ctx *core.Context, optFns ...request.OptFn) *MessageReadUsersReqCall
func (*MessageService) Reply ¶
func (messages *MessageService) Reply(ctx *core.Context, body *MessageReplyReqBody, optFns ...request.OptFn) *MessageReplyReqCall
func (*MessageService) UrgentApp ¶ added in v1.1.48
func (messages *MessageService) UrgentApp(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentAppReqCall
func (*MessageService) UrgentPhone ¶ added in v1.1.48
func (messages *MessageService) UrgentPhone(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentPhoneReqCall
func (*MessageService) UrgentSms ¶ added in v1.1.48
func (messages *MessageService) UrgentSms(ctx *core.Context, body *UrgentReceivers, optFns ...request.OptFn) *MessageUrgentSmsReqCall
type MessageUrgentAppReqCall ¶ added in v1.1.48
type MessageUrgentAppReqCall struct {
// contains filtered or unexported fields
}
func (*MessageUrgentAppReqCall) Do ¶ added in v1.1.48
func (rc *MessageUrgentAppReqCall) Do() (*MessageUrgentAppResult, error)
func (*MessageUrgentAppReqCall) SetMessageId ¶ added in v1.1.48
func (rc *MessageUrgentAppReqCall) SetMessageId(messageId string)
func (*MessageUrgentAppReqCall) SetUserIdType ¶ added in v1.1.48
func (rc *MessageUrgentAppReqCall) SetUserIdType(userIdType string)
type MessageUrgentAppResult ¶ added in v1.1.48
type MessageUrgentAppResult struct {
InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}
type MessageUrgentPhoneReqCall ¶ added in v1.1.48
type MessageUrgentPhoneReqCall struct {
// contains filtered or unexported fields
}
func (*MessageUrgentPhoneReqCall) Do ¶ added in v1.1.48
func (rc *MessageUrgentPhoneReqCall) Do() (*MessageUrgentPhoneResult, error)
func (*MessageUrgentPhoneReqCall) SetMessageId ¶ added in v1.1.48
func (rc *MessageUrgentPhoneReqCall) SetMessageId(messageId string)
func (*MessageUrgentPhoneReqCall) SetUserIdType ¶ added in v1.1.48
func (rc *MessageUrgentPhoneReqCall) SetUserIdType(userIdType string)
type MessageUrgentPhoneResult ¶ added in v1.1.48
type MessageUrgentPhoneResult struct {
InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}
type MessageUrgentSmsReqCall ¶ added in v1.1.48
type MessageUrgentSmsReqCall struct {
// contains filtered or unexported fields
}
func (*MessageUrgentSmsReqCall) Do ¶ added in v1.1.48
func (rc *MessageUrgentSmsReqCall) Do() (*MessageUrgentSmsResult, error)
func (*MessageUrgentSmsReqCall) SetMessageId ¶ added in v1.1.48
func (rc *MessageUrgentSmsReqCall) SetMessageId(messageId string)
func (*MessageUrgentSmsReqCall) SetUserIdType ¶ added in v1.1.48
func (rc *MessageUrgentSmsReqCall) SetUserIdType(userIdType string)
type MessageUrgentSmsResult ¶ added in v1.1.48
type MessageUrgentSmsResult struct {
InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}
type ModeratorList ¶
type ModeratorList struct { AddedMemberList []*ListEventModerator `json:"added_member_list,omitempty"` RemovedMemberList []*ListEventModerator `json:"removed_member_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*ModeratorList) MarshalJSON ¶
func (s *ModeratorList) MarshalJSON() ([]byte, error)
type MsgProcessData ¶ added in v1.1.48
type MsgProcessData struct { PDate string `json:"p_date,omitempty"` DepartmentId string `json:"department_id,omitempty"` DepartmentPath string `json:"department_path,omitempty"` AvgImpMsgReadRate12h float64 `json:"avg_imp_msg_read_rate_12h,omitempty"` MsgReadRate12h float64 `json:"msg_read_rate_12h,omitempty"` AvgReceiveMsgCnt float64 `json:"avg_receive_msg_cnt,omitempty"` AvgReadMsgCnt float64 `json:"avg_read_msg_cnt,omitempty"` AvgImpReadMsgCnt float64 `json:"avg_imp_read_msg_cnt,omitempty"` AvgImpReceiveMsgCnt float64 `json:"avg_imp_receive_msg_cnt,omitempty"` HighLoadRate float64 `json:"high_load_rate,omitempty"` BigGroupMsgRate float64 `json:"big_group_msg_rate,omitempty"` BigGroupTopicMsgRate float64 `json:"big_group_topic_msg_rate,omitempty"` AvgReceiveBotMsgCnt float64 `json:"avg_receive_bot_msg_cnt,omitempty"` AvgBotImpMsgReadRate12h float64 `json:"avg_bot_imp_msg_read_rate_12h,omitempty"` ReceiveBotMsgRate float64 `json:"receive_bot_msg_rate,omitempty"` UseChatBoxRate float64 `json:"use_chat_box_rate,omitempty"` ReceiveMuteMsgRate float64 `json:"receive_mute_msg_rate,omitempty"` ReadMuteMsgRate float64 `json:"read_mute_msg_rate,omitempty"` AvgReceiveImpMsgChatCnt float64 `json:"avg_receive_imp_msg_chat_cnt,omitempty"` ForceSendFields []string `json:"-"` }
func (*MsgProcessData) MarshalJSON ¶ added in v1.1.48
func (s *MsgProcessData) MarshalJSON() ([]byte, error)
type Operator ¶ added in v1.1.41
type Operator struct { OperatorId string `json:"operator_id,omitempty"` OperatorType string `json:"operator_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*Operator) MarshalJSON ¶ added in v1.1.41
type Pin ¶ added in v1.1.48
type Pin struct { MessageId string `json:"message_id,omitempty"` ChatId string `json:"chat_id,omitempty"` OperatorId string `json:"operator_id,omitempty"` OperatorIdType string `json:"operator_id_type,omitempty"` CreateTime string `json:"create_time,omitempty"` ForceSendFields []string `json:"-"` }
func (*Pin) MarshalJSON ¶ added in v1.1.48
type PinedMessage ¶ added in v1.1.48
type PinedMessage struct { Pin *Pin `json:"pin,omitempty"` Message *Message `json:"message,omitempty"` ForceSendFields []string `json:"-"` }
func (*PinedMessage) MarshalJSON ¶ added in v1.1.48
func (s *PinedMessage) MarshalJSON() ([]byte, error)
type ReadUser ¶
type ReadUser struct { UserIdType string `json:"user_id_type,omitempty"` UserId string `json:"user_id,omitempty"` Timestamp string `json:"timestamp,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*ReadUser) MarshalJSON ¶
type Sender ¶
type Sender struct { Id string `json:"id,omitempty"` IdType string `json:"id_type,omitempty"` SenderType string `json:"sender_type,omitempty"` TenantKey string `json:"tenant_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*Sender) MarshalJSON ¶
type Service ¶
type Service struct { BatchMessages *BatchMessageService Chats *ChatService ChatAnnouncements *ChatAnnouncementService ChatManagerss *ChatManagersService ChatMemberBots *ChatMemberBotService ChatMemberUsers *ChatMemberUserService ChatMemberss *ChatMembersService ChatModerations *ChatModerationService ChatTabs *ChatTabService ChatTopNotices *ChatTopNoticeService Files *FileService Images *ImageService Messages *MessageService MessageReactions *MessageReactionService MessageResources *MessageResourceService // contains filtered or unexported fields }
func NewService ¶
type SpecialFocus ¶ added in v1.1.48
type SpecialFocus struct { Id string `json:"id,omitempty"` IdType string `json:"id_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*SpecialFocus) MarshalJSON ¶ added in v1.1.48
func (s *SpecialFocus) MarshalJSON() ([]byte, error)
type SpecialFocusUnread ¶ added in v1.1.48
type SpecialFocusUnread struct { Id string `json:"id,omitempty"` IdType string `json:"id_type,omitempty"` UnreadCount string `json:"unread_count,omitempty"` ForceSendFields []string `json:"-"` }
func (*SpecialFocusUnread) MarshalJSON ¶ added in v1.1.48
func (s *SpecialFocusUnread) MarshalJSON() ([]byte, error)
type Toolkit ¶ added in v1.1.48
type Toolkit struct { ToolkitId int64 `json:"toolkit_id,omitempty,string"` ImageKey string `json:"image_key,omitempty"` ToolkitName string `json:"toolkit_name,omitempty"` I18nName *I18nNames `json:"i18n_name,omitempty"` ToolkitType string `json:"toolkit_type,omitempty"` RedirectLink *ToolkitRedirectLink `json:"redirect_link,omitempty"` Callback *ToolkitCallback `json:"callback,omitempty"` ForceSendFields []string `json:"-"` }
func (*Toolkit) MarshalJSON ¶ added in v1.1.48
type ToolkitCallback ¶ added in v1.1.48
type ToolkitCallback struct { Webhook string `json:"webhook,omitempty"` ActionKey string `json:"action_key,omitempty"` ForceSendFields []string `json:"-"` }
func (*ToolkitCallback) MarshalJSON ¶ added in v1.1.48
func (s *ToolkitCallback) MarshalJSON() ([]byte, error)
type ToolkitRedirectLink ¶ added in v1.1.48
type ToolkitRedirectLink struct { Url string `json:"url,omitempty"` ForceSendFields []string `json:"-"` }
func (*ToolkitRedirectLink) MarshalJSON ¶ added in v1.1.48
func (s *ToolkitRedirectLink) MarshalJSON() ([]byte, error)
type UrgentReceivers ¶
type UrgentReceivers struct { UserIdList []string `json:"user_id_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*UrgentReceivers) MarshalJSON ¶
func (s *UrgentReceivers) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.