larkim

package
v3.0.0-beta-7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 12 Imported by: 49

Documentation

Index

Constants

View Source
const (
	MsgTypeText        string = "text"
	MsgTypePost        string = "post"
	MsgTypeImage       string = "image"
	MsgTypeFile        string = "file"
	MsgTypeAudio       string = "audio"
	MsgTypeMedia       string = "media"
	MsgTypeSticker     string = "sticker"
	MsgTypeInteractive string = "interactive"
	MsgTypeShareChat   string = "share_chat"
	MsgTypeShareUser   string = "share_user"
)

* 消息类型,枚举值

View Source
const (
	ChatTypePrivate string = "private"
	ChatTypePublic  string = "public"
)
View Source
const (
	UserIdTypeUserId  = "user_id"
	UserIdTypeUnionId = "union_id"
	UserIdTypeOpenId  = "open_id"
)
View Source
const (
	OwnerIdTypeUserId  = "user_id"
	OwnerIdTypeUnionId = "union_id"
	OwnerIdTypeOpenId  = "open_id"
	OwnerIdTypeAppId   = "app_id"
)
View Source
const (
	ModifierIdTypeUserId  = "user_id"
	ModifierIdTypeUnionId = "union_id"
	ModifierIdTypeOpenId  = "open_id"
	ModifierIdTypeAppId   = "app_id"
)
View Source
const (
	MemberIdTypeUserId  = "user_id"
	MemberIdTypeUnionId = "union_id"
	MemberIdTypeOpenId  = "open_id"
	MemberIdTypeAppId   = "app_id"
)
View Source
const (
	SucceedType0 = 0
	SucceedType1 = 1
	SucceedType2 = 2
)
View Source
const (
	FileTypeOpus   = "opus"
	FileTypeMp4    = "mp4"
	FileTypePdf    = "pdf"
	FileTypeDoc    = "doc"
	FileTypeXls    = "xls"
	FileTypePpt    = "ppt"
	FileTypeStream = "stream"
)
View Source
const (
	ImageTypeMessage = "message"
	ImageTypeAvatar  = "avatar"
)
View Source
const (
	ReceiveIdTypeOpenId  = "open_id"
	ReceiveIdTypeUserId  = "user_id"
	ReceiveIdTypeUnionId = "union_id"
	ReceiveIdTypeEmail   = "email"
	ReceiveIdTypeChatId  = "chat_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddManagersChatManagersPathReqBodyBuilder

type AddManagersChatManagersPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewAddManagersChatManagersPathReqBodyBuilder

func NewAddManagersChatManagersPathReqBodyBuilder() *AddManagersChatManagersPathReqBodyBuilder

func (*AddManagersChatManagersPathReqBodyBuilder) Build

func (*AddManagersChatManagersPathReqBodyBuilder) ManagerIds

type AddManagersChatManagersReq

type AddManagersChatManagersReq struct {
	Body *AddManagersChatManagersReqBody `body:""`
	// contains filtered or unexported fields
}

type AddManagersChatManagersReqBody

type AddManagersChatManagersReqBody struct {
	ManagerIds []string `json:"manager_ids,omitempty"`
}

type AddManagersChatManagersReqBodyBuilder

type AddManagersChatManagersReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewAddManagersChatManagersReqBodyBuilder

func NewAddManagersChatManagersReqBodyBuilder() *AddManagersChatManagersReqBodyBuilder

生成body的New构造器

func (*AddManagersChatManagersReqBodyBuilder) Build

1.3 生成body的build方法

func (*AddManagersChatManagersReqBodyBuilder) ManagerIds

1.2 生成body的builder属性方法

type AddManagersChatManagersReqBuilder

type AddManagersChatManagersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewAddManagersChatManagersReqBuilder

func NewAddManagersChatManagersReqBuilder() *AddManagersChatManagersReqBuilder

生成请求的New构造器

func (*AddManagersChatManagersReqBuilder) Body

func (*AddManagersChatManagersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*AddManagersChatManagersReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*AddManagersChatManagersReqBuilder) MemberIdType

func (builder *AddManagersChatManagersReqBuilder) MemberIdType(memberIdType string) *AddManagersChatManagersReqBuilder

type AddManagersChatManagersResp

type AddManagersChatManagersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *AddManagersChatManagersRespData `json:"data"`
}

func (*AddManagersChatManagersResp) Success

func (resp *AddManagersChatManagersResp) Success() bool

type AddManagersChatManagersRespData

type AddManagersChatManagersRespData struct {
	ChatManagers    []string `json:"chat_managers,omitempty"`
	ChatBotManagers []string `json:"chat_bot_managers,omitempty"`
}

type BatchMessage

type BatchMessage struct {
	BatchMessageId      *string              `json:"batch_message_id,omitempty"`
	BatchSendProgress   *BatchSendProgress   `json:"batch_send_progress,omitempty"`
	BatchRecallProgress *BatchRecallProgress `json:"batch_recall_progress,omitempty"`
}

type BatchMessageBuilder

type BatchMessageBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchMessageBuilder

func NewBatchMessageBuilder() *BatchMessageBuilder

func (*BatchMessageBuilder) BatchMessageId

func (builder *BatchMessageBuilder) BatchMessageId(batchMessageId string) *BatchMessageBuilder

func (*BatchMessageBuilder) BatchRecallProgress

func (builder *BatchMessageBuilder) BatchRecallProgress(batchRecallProgress *BatchRecallProgress) *BatchMessageBuilder

func (*BatchMessageBuilder) BatchSendProgress

func (builder *BatchMessageBuilder) BatchSendProgress(batchSendProgress *BatchSendProgress) *BatchMessageBuilder

func (*BatchMessageBuilder) Build

func (builder *BatchMessageBuilder) Build() *BatchMessage

type BatchMessageReadUser

type BatchMessageReadUser struct {
	ReadCount  *string `json:"read_count,omitempty"`
	TotalCount *string `json:"total_count,omitempty"`
}

type BatchMessageReadUserBuilder

type BatchMessageReadUserBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchMessageReadUserBuilder

func NewBatchMessageReadUserBuilder() *BatchMessageReadUserBuilder

func (*BatchMessageReadUserBuilder) Build

func (*BatchMessageReadUserBuilder) ReadCount

func (builder *BatchMessageReadUserBuilder) ReadCount(readCount string) *BatchMessageReadUserBuilder

func (*BatchMessageReadUserBuilder) TotalCount

func (builder *BatchMessageReadUserBuilder) TotalCount(totalCount string) *BatchMessageReadUserBuilder

type BatchMessageRecallProgress

type BatchMessageRecallProgress struct {
	Recall      *bool `json:"recall,omitempty"`
	RecallCount *int  `json:"recall_count,omitempty"`
}

type BatchMessageRecallProgressBuilder

type BatchMessageRecallProgressBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchMessageRecallProgressBuilder

func NewBatchMessageRecallProgressBuilder() *BatchMessageRecallProgressBuilder

func (*BatchMessageRecallProgressBuilder) Build

func (*BatchMessageRecallProgressBuilder) Recall

func (*BatchMessageRecallProgressBuilder) RecallCount

func (builder *BatchMessageRecallProgressBuilder) RecallCount(recallCount int) *BatchMessageRecallProgressBuilder

type BatchMessageSendProgress

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"`
}

type BatchMessageSendProgressBuilder

type BatchMessageSendProgressBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchMessageSendProgressBuilder

func NewBatchMessageSendProgressBuilder() *BatchMessageSendProgressBuilder

func (*BatchMessageSendProgressBuilder) Build

func (*BatchMessageSendProgressBuilder) ReadUserIdsCount

func (builder *BatchMessageSendProgressBuilder) ReadUserIdsCount(readUserIdsCount int) *BatchMessageSendProgressBuilder

func (*BatchMessageSendProgressBuilder) SuccessUserIdsCount

func (builder *BatchMessageSendProgressBuilder) SuccessUserIdsCount(successUserIdsCount int) *BatchMessageSendProgressBuilder

func (*BatchMessageSendProgressBuilder) ValidUserIdsCount

func (builder *BatchMessageSendProgressBuilder) ValidUserIdsCount(validUserIdsCount int) *BatchMessageSendProgressBuilder

type BatchRecallProgress

type BatchRecallProgress struct {
	RecallCount      *string `json:"recall_count,omitempty"`
	TotalRecallCount *string `json:"total_recall_count,omitempty"`
}

type BatchRecallProgressBuilder

type BatchRecallProgressBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchRecallProgressBuilder

func NewBatchRecallProgressBuilder() *BatchRecallProgressBuilder

func (*BatchRecallProgressBuilder) Build

func (*BatchRecallProgressBuilder) RecallCount

func (builder *BatchRecallProgressBuilder) RecallCount(recallCount string) *BatchRecallProgressBuilder

func (*BatchRecallProgressBuilder) TotalRecallCount

func (builder *BatchRecallProgressBuilder) TotalRecallCount(totalRecallCount string) *BatchRecallProgressBuilder

type BatchSendProgress

type BatchSendProgress struct {
	SendCount      *string `json:"send_count,omitempty"`
	TotalSendCount *string `json:"total_send_count,omitempty"`
}

type BatchSendProgressBuilder

type BatchSendProgressBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewBatchSendProgressBuilder

func NewBatchSendProgressBuilder() *BatchSendProgressBuilder

func (*BatchSendProgressBuilder) Build

func (builder *BatchSendProgressBuilder) Build() *BatchSendProgress

func (*BatchSendProgressBuilder) SendCount

func (builder *BatchSendProgressBuilder) SendCount(sendCount string) *BatchSendProgressBuilder

func (*BatchSendProgressBuilder) TotalSendCount

func (builder *BatchSendProgressBuilder) TotalSendCount(totalSendCount string) *BatchSendProgressBuilder

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"`
	ShareAllowed   *bool      `json:"share_allowed,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"`
}

type ChatAnnouncement

type ChatAnnouncement struct {
}

type ChatBuilder

type ChatBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatBuilder

func NewChatBuilder() *ChatBuilder

func (*ChatBuilder) Avatar

func (builder *ChatBuilder) Avatar(avatar string) *ChatBuilder

func (*ChatBuilder) Build

func (builder *ChatBuilder) Build() *Chat

func (*ChatBuilder) ChatId

func (builder *ChatBuilder) ChatId(chatId string) *ChatBuilder

func (*ChatBuilder) Description

func (builder *ChatBuilder) Description(description string) *ChatBuilder

func (*ChatBuilder) I18nNames

func (builder *ChatBuilder) I18nNames(i18nNames *I18nNames) *ChatBuilder

func (*ChatBuilder) Name

func (builder *ChatBuilder) Name(name string) *ChatBuilder

func (*ChatBuilder) OnlyOwnerAdd

func (builder *ChatBuilder) OnlyOwnerAdd(onlyOwnerAdd bool) *ChatBuilder

func (*ChatBuilder) OnlyOwnerAtAll

func (builder *ChatBuilder) OnlyOwnerAtAll(onlyOwnerAtAll bool) *ChatBuilder

func (*ChatBuilder) OnlyOwnerEdit

func (builder *ChatBuilder) OnlyOwnerEdit(onlyOwnerEdit bool) *ChatBuilder

func (*ChatBuilder) OwnerUserId

func (builder *ChatBuilder) OwnerUserId(ownerUserId string) *ChatBuilder

func (*ChatBuilder) ShareAllowed

func (builder *ChatBuilder) ShareAllowed(shareAllowed bool) *ChatBuilder

func (*ChatBuilder) Type

func (builder *ChatBuilder) Type(type_ string) *ChatBuilder

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"`
	ShareCardPermission    *string    `json:"share_card_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"`
}

type ChatChangeBuilder

type ChatChangeBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatChangeBuilder

func NewChatChangeBuilder() *ChatChangeBuilder

func (*ChatChangeBuilder) AddMemberPermission

func (builder *ChatChangeBuilder) AddMemberPermission(addMemberPermission string) *ChatChangeBuilder

func (*ChatChangeBuilder) AtAllPermission

func (builder *ChatChangeBuilder) AtAllPermission(atAllPermission string) *ChatChangeBuilder

func (*ChatChangeBuilder) Avatar

func (builder *ChatChangeBuilder) Avatar(avatar string) *ChatChangeBuilder

func (*ChatChangeBuilder) Build

func (builder *ChatChangeBuilder) Build() *ChatChange

func (*ChatChangeBuilder) Description

func (builder *ChatChangeBuilder) Description(description string) *ChatChangeBuilder

func (*ChatChangeBuilder) EditPermission

func (builder *ChatChangeBuilder) EditPermission(editPermission string) *ChatChangeBuilder

func (*ChatChangeBuilder) I18nNames

func (builder *ChatChangeBuilder) I18nNames(i18nNames *I18nNames) *ChatChangeBuilder

func (*ChatChangeBuilder) JoinMessageVisibility

func (builder *ChatChangeBuilder) JoinMessageVisibility(joinMessageVisibility string) *ChatChangeBuilder

func (*ChatChangeBuilder) LeaveMessageVisibility

func (builder *ChatChangeBuilder) LeaveMessageVisibility(leaveMessageVisibility string) *ChatChangeBuilder

func (*ChatChangeBuilder) MembershipApproval

func (builder *ChatChangeBuilder) MembershipApproval(membershipApproval string) *ChatChangeBuilder

func (*ChatChangeBuilder) ModerationPermission

func (builder *ChatChangeBuilder) ModerationPermission(moderationPermission string) *ChatChangeBuilder

func (*ChatChangeBuilder) Name

func (builder *ChatChangeBuilder) Name(name string) *ChatChangeBuilder

func (*ChatChangeBuilder) OwnerId

func (builder *ChatChangeBuilder) OwnerId(ownerId *UserId) *ChatChangeBuilder

func (*ChatChangeBuilder) ShareCardPermission

func (builder *ChatChangeBuilder) ShareCardPermission(shareCardPermission string) *ChatChangeBuilder

type ChatI18nNames

type ChatI18nNames struct {
	EnUs string `json:"en_us,omitempty"`
	ZhCn string `json:"zh_cn,omitempty"`
}

type ChatManagers

type ChatManagers struct {
	ManagerId *string `json:"manager_id,omitempty"`
}

type ChatManagersBuilder

type ChatManagersBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatManagersBuilder

func NewChatManagersBuilder() *ChatManagersBuilder

func (*ChatManagersBuilder) Build

func (builder *ChatManagersBuilder) Build() *ChatManagers

func (*ChatManagersBuilder) ManagerId

func (builder *ChatManagersBuilder) ManagerId(managerId string) *ChatManagersBuilder

type ChatMember

type ChatMember struct {
	UserId *string `json:"user_id,omitempty"`
}

type ChatMemberBot

type ChatMemberBot struct {
	BotId *string `json:"bot_id,omitempty"`
}

type ChatMemberBotBuilder

type ChatMemberBotBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatMemberBotBuilder

func NewChatMemberBotBuilder() *ChatMemberBotBuilder

func (*ChatMemberBotBuilder) BotId

func (builder *ChatMemberBotBuilder) BotId(botId string) *ChatMemberBotBuilder

func (*ChatMemberBotBuilder) Build

func (builder *ChatMemberBotBuilder) Build() *ChatMemberBot

type ChatMemberBuilder

type ChatMemberBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatMemberBuilder

func NewChatMemberBuilder() *ChatMemberBuilder

func (*ChatMemberBuilder) Build

func (builder *ChatMemberBuilder) Build() *ChatMember

func (*ChatMemberBuilder) UserId

func (builder *ChatMemberBuilder) UserId(userId string) *ChatMemberBuilder

type ChatMemberUser

type ChatMemberUser struct {
	Name      *string `json:"name,omitempty"`
	TenantKey *string `json:"tenant_key,omitempty"`
	UserId    *UserId `json:"user_id,omitempty"`
}

type ChatMemberUserBuilder

type ChatMemberUserBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatMemberUserBuilder

func NewChatMemberUserBuilder() *ChatMemberUserBuilder

func (*ChatMemberUserBuilder) Build

func (builder *ChatMemberUserBuilder) Build() *ChatMemberUser

func (*ChatMemberUserBuilder) Name

func (builder *ChatMemberUserBuilder) Name(name string) *ChatMemberUserBuilder

func (*ChatMemberUserBuilder) TenantKey

func (builder *ChatMemberUserBuilder) TenantKey(tenantKey string) *ChatMemberUserBuilder

func (*ChatMemberUserBuilder) UserId

func (builder *ChatMemberUserBuilder) UserId(userId *UserId) *ChatMemberUserBuilder

type ChatMembers

type ChatMembers struct {
	UserId *string `json:"user_id,omitempty"`
}

type ChatMembersBuilder

type ChatMembersBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatMembersBuilder

func NewChatMembersBuilder() *ChatMembersBuilder

func (*ChatMembersBuilder) Build

func (builder *ChatMembersBuilder) Build() *ChatMembers

func (*ChatMembersBuilder) UserId

func (builder *ChatMembersBuilder) UserId(userId string) *ChatMembersBuilder

type ChatTab

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"`
}

type ChatTabBuilder

type ChatTabBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatTabBuilder

func NewChatTabBuilder() *ChatTabBuilder

func (*ChatTabBuilder) Build

func (builder *ChatTabBuilder) Build() *ChatTab

func (*ChatTabBuilder) TabContent

func (builder *ChatTabBuilder) TabContent(tabContent *ChatTabContent) *ChatTabBuilder

func (*ChatTabBuilder) TabId

func (builder *ChatTabBuilder) TabId(tabId string) *ChatTabBuilder

func (*ChatTabBuilder) TabName

func (builder *ChatTabBuilder) TabName(tabName string) *ChatTabBuilder

func (*ChatTabBuilder) TabType

func (builder *ChatTabBuilder) TabType(tabType string) *ChatTabBuilder

type ChatTabContent

type ChatTabContent struct {
	Url           *string `json:"url,omitempty"`
	Doc           *string `json:"doc,omitempty"`
	MeetingMinute *string `json:"meeting_minute,omitempty"`
}

type ChatTabContentBuilder

type ChatTabContentBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatTabContentBuilder

func NewChatTabContentBuilder() *ChatTabContentBuilder

func (*ChatTabContentBuilder) Build

func (builder *ChatTabContentBuilder) Build() *ChatTabContent

func (*ChatTabContentBuilder) Doc

func (*ChatTabContentBuilder) MeetingMinute

func (builder *ChatTabContentBuilder) MeetingMinute(meetingMinute string) *ChatTabContentBuilder

func (*ChatTabContentBuilder) Url

type ChatTopNotice

type ChatTopNotice struct {
	ActionType *string `json:"action_type,omitempty"`
	MessageId  *string `json:"message_id,omitempty"`
}

type ChatTopNoticeBuilder

type ChatTopNoticeBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewChatTopNoticeBuilder

func NewChatTopNoticeBuilder() *ChatTopNoticeBuilder

func (*ChatTopNoticeBuilder) ActionType

func (builder *ChatTopNoticeBuilder) ActionType(actionType string) *ChatTopNoticeBuilder

func (*ChatTopNoticeBuilder) Build

func (builder *ChatTopNoticeBuilder) Build() *ChatTopNotice

func (*ChatTopNoticeBuilder) MessageId

func (builder *ChatTopNoticeBuilder) MessageId(messageId string) *ChatTopNoticeBuilder

type CreateChatMembersPathReqBodyBuilder

type CreateChatMembersPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateChatMembersPathReqBodyBuilder

func NewCreateChatMembersPathReqBodyBuilder() *CreateChatMembersPathReqBodyBuilder

func (*CreateChatMembersPathReqBodyBuilder) Build

func (*CreateChatMembersPathReqBodyBuilder) IdList

type CreateChatMembersReq

type CreateChatMembersReq struct {
	Body *CreateChatMembersReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateChatMembersReqBody

type CreateChatMembersReqBody struct {
	IdList []string `json:"id_list,omitempty"`
}

type CreateChatMembersReqBodyBuilder

type CreateChatMembersReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateChatMembersReqBodyBuilder

func NewCreateChatMembersReqBodyBuilder() *CreateChatMembersReqBodyBuilder

生成body的New构造器

func (*CreateChatMembersReqBodyBuilder) Build

1.3 生成body的build方法

func (*CreateChatMembersReqBodyBuilder) IdList

1.2 生成body的builder属性方法

type CreateChatMembersReqBuilder

type CreateChatMembersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateChatMembersReqBuilder

func NewCreateChatMembersReqBuilder() *CreateChatMembersReqBuilder

生成请求的New构造器

func (*CreateChatMembersReqBuilder) Body

func (*CreateChatMembersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateChatMembersReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*CreateChatMembersReqBuilder) MemberIdType

func (builder *CreateChatMembersReqBuilder) MemberIdType(memberIdType string) *CreateChatMembersReqBuilder

func (*CreateChatMembersReqBuilder) SucceedType

func (builder *CreateChatMembersReqBuilder) SucceedType(succeedType int) *CreateChatMembersReqBuilder

type CreateChatMembersResp

type CreateChatMembersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateChatMembersRespData `json:"data"`
}

func (*CreateChatMembersResp) Success

func (resp *CreateChatMembersResp) Success() bool

type CreateChatMembersRespData

type CreateChatMembersRespData struct {
	InvalidIdList    []string `json:"invalid_id_list,omitempty"`
	NotExistedIdList []string `json:"not_existed_id_list,omitempty"`
}

type CreateChatPathReqBodyBuilder

type CreateChatPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateChatPathReqBodyBuilder

func NewCreateChatPathReqBodyBuilder() *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) Avatar

func (*CreateChatPathReqBodyBuilder) BotIdList

func (builder *CreateChatPathReqBodyBuilder) BotIdList(botIdList []string) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) Build

func (*CreateChatPathReqBodyBuilder) ChatMode

func (*CreateChatPathReqBodyBuilder) ChatType

func (*CreateChatPathReqBodyBuilder) Description

func (builder *CreateChatPathReqBodyBuilder) Description(description string) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) External

func (builder *CreateChatPathReqBodyBuilder) External(external bool) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) I18nNames

func (*CreateChatPathReqBodyBuilder) JoinMessageVisibility

func (builder *CreateChatPathReqBodyBuilder) JoinMessageVisibility(joinMessageVisibility string) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) LeaveMessageVisibility

func (builder *CreateChatPathReqBodyBuilder) LeaveMessageVisibility(leaveMessageVisibility string) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) MembershipApproval

func (builder *CreateChatPathReqBodyBuilder) MembershipApproval(membershipApproval string) *CreateChatPathReqBodyBuilder

func (*CreateChatPathReqBodyBuilder) Name

func (*CreateChatPathReqBodyBuilder) OwnerId

func (*CreateChatPathReqBodyBuilder) UserIdList

func (builder *CreateChatPathReqBodyBuilder) UserIdList(userIdList []string) *CreateChatPathReqBodyBuilder

type CreateChatReq

type CreateChatReq struct {
	Body *CreateChatReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateChatReqBody

type CreateChatReqBody 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"`
}

type CreateChatReqBodyBuilder

type CreateChatReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateChatReqBodyBuilder

func NewCreateChatReqBodyBuilder() *CreateChatReqBodyBuilder

生成body的New构造器

func (*CreateChatReqBodyBuilder) Avatar

func (builder *CreateChatReqBodyBuilder) Avatar(avatar string) *CreateChatReqBodyBuilder

1.2 生成body的builder属性方法

func (*CreateChatReqBodyBuilder) BotIdList

func (builder *CreateChatReqBodyBuilder) BotIdList(botIdList []string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) Build

func (builder *CreateChatReqBodyBuilder) Build() *CreateChatReqBody

1.3 生成body的build方法

func (*CreateChatReqBodyBuilder) ChatMode

func (builder *CreateChatReqBodyBuilder) ChatMode(chatMode string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) ChatType

func (builder *CreateChatReqBodyBuilder) ChatType(chatType string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) Description

func (builder *CreateChatReqBodyBuilder) Description(description string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) External

func (builder *CreateChatReqBodyBuilder) External(external bool) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) I18nNames

func (builder *CreateChatReqBodyBuilder) I18nNames(i18nNames *I18nNames) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) JoinMessageVisibility

func (builder *CreateChatReqBodyBuilder) JoinMessageVisibility(joinMessageVisibility string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) LeaveMessageVisibility

func (builder *CreateChatReqBodyBuilder) LeaveMessageVisibility(leaveMessageVisibility string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) MembershipApproval

func (builder *CreateChatReqBodyBuilder) MembershipApproval(membershipApproval string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) Name

func (*CreateChatReqBodyBuilder) OwnerId

func (builder *CreateChatReqBodyBuilder) OwnerId(ownerId string) *CreateChatReqBodyBuilder

func (*CreateChatReqBodyBuilder) UserIdList

func (builder *CreateChatReqBodyBuilder) UserIdList(userIdList []string) *CreateChatReqBodyBuilder

type CreateChatReqBuilder

type CreateChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateChatReqBuilder

func NewCreateChatReqBuilder() *CreateChatReqBuilder

生成请求的New构造器

func (*CreateChatReqBuilder) Body

func (*CreateChatReqBuilder) Build

func (builder *CreateChatReqBuilder) Build() *CreateChatReq

1.5 生成请求的builder的build方法

func (*CreateChatReqBuilder) SetBotManager

func (builder *CreateChatReqBuilder) SetBotManager(setBotManager bool) *CreateChatReqBuilder

func (*CreateChatReqBuilder) UserIdType

func (builder *CreateChatReqBuilder) UserIdType(userIdType string) *CreateChatReqBuilder

1.5 生成请求的builder属性方法

type CreateChatResp

type CreateChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateChatRespData `json:"data"`
}

func (*CreateChatResp) Success

func (resp *CreateChatResp) Success() bool

type CreateChatRespData

type CreateChatRespData 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"`
	ShareCardPermission    *string    `json:"share_card_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"`
}

type CreateChatTabPathReqBodyBuilder

type CreateChatTabPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateChatTabPathReqBodyBuilder

func NewCreateChatTabPathReqBodyBuilder() *CreateChatTabPathReqBodyBuilder

func (*CreateChatTabPathReqBodyBuilder) Build

func (*CreateChatTabPathReqBodyBuilder) ChatTabs

type CreateChatTabReq

type CreateChatTabReq struct {
	Body *CreateChatTabReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateChatTabReqBody

type CreateChatTabReqBody struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type CreateChatTabReqBodyBuilder

type CreateChatTabReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateChatTabReqBodyBuilder

func NewCreateChatTabReqBodyBuilder() *CreateChatTabReqBodyBuilder

生成body的New构造器

func (*CreateChatTabReqBodyBuilder) Build

1.3 生成body的build方法

func (*CreateChatTabReqBodyBuilder) ChatTabs

func (builder *CreateChatTabReqBodyBuilder) ChatTabs(chatTabs []*ChatTab) *CreateChatTabReqBodyBuilder

1.2 生成body的builder属性方法

type CreateChatTabReqBuilder

type CreateChatTabReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateChatTabReqBuilder

func NewCreateChatTabReqBuilder() *CreateChatTabReqBuilder

生成请求的New构造器

func (*CreateChatTabReqBuilder) Body

func (*CreateChatTabReqBuilder) Build

func (builder *CreateChatTabReqBuilder) Build() *CreateChatTabReq

1.5 生成请求的builder的build方法

func (*CreateChatTabReqBuilder) ChatId

func (builder *CreateChatTabReqBuilder) ChatId(chatId string) *CreateChatTabReqBuilder

1.5 生成请求的builder属性方法

type CreateChatTabResp

type CreateChatTabResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateChatTabRespData `json:"data"`
}

func (*CreateChatTabResp) Success

func (resp *CreateChatTabResp) Success() bool

type CreateChatTabRespData

type CreateChatTabRespData struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type CreateFilePathReqBodyBuilder

type CreateFilePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateFilePathReqBodyBuilder

func NewCreateFilePathReqBodyBuilder() *CreateFilePathReqBodyBuilder

func (*CreateFilePathReqBodyBuilder) Build

func (*CreateFilePathReqBodyBuilder) Duration

func (builder *CreateFilePathReqBodyBuilder) Duration(duration int) *CreateFilePathReqBodyBuilder

func (*CreateFilePathReqBodyBuilder) FileName

func (*CreateFilePathReqBodyBuilder) FilePath

func (*CreateFilePathReqBodyBuilder) FileType

type CreateFileReq

type CreateFileReq struct {
	Body *CreateFileReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateFileReqBody

type CreateFileReqBody struct {
	FileType *string   `json:"file_type,omitempty"`
	FileName *string   `json:"file_name,omitempty"`
	Duration *int      `json:"duration,omitempty"`
	File     io.Reader `json:"file,omitempty"`
}

type CreateFileReqBodyBuilder

type CreateFileReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateFileReqBodyBuilder

func NewCreateFileReqBodyBuilder() *CreateFileReqBodyBuilder

生成body的New构造器

func (*CreateFileReqBodyBuilder) Build

func (builder *CreateFileReqBodyBuilder) Build() *CreateFileReqBody

1.3 生成body的build方法

func (*CreateFileReqBodyBuilder) Duration

func (builder *CreateFileReqBodyBuilder) Duration(duration int) *CreateFileReqBodyBuilder

func (*CreateFileReqBodyBuilder) File

func (*CreateFileReqBodyBuilder) FileName

func (builder *CreateFileReqBodyBuilder) FileName(fileName string) *CreateFileReqBodyBuilder

func (*CreateFileReqBodyBuilder) FileType

func (builder *CreateFileReqBodyBuilder) FileType(fileType string) *CreateFileReqBodyBuilder

1.2 生成body的builder属性方法

type CreateFileReqBuilder

type CreateFileReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateFileReqBuilder

func NewCreateFileReqBuilder() *CreateFileReqBuilder

生成请求的New构造器

func (*CreateFileReqBuilder) Body

1.5 生成请求的builder属性方法

func (*CreateFileReqBuilder) Build

func (builder *CreateFileReqBuilder) Build() *CreateFileReq

1.5 生成请求的builder的build方法

type CreateFileResp

type CreateFileResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateFileRespData `json:"data"`
}

func (*CreateFileResp) Success

func (resp *CreateFileResp) Success() bool

type CreateFileRespData

type CreateFileRespData struct {
	FileKey *string `json:"file_key,omitempty"`
}

type CreateImagePathReqBodyBuilder

type CreateImagePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateImagePathReqBodyBuilder

func NewCreateImagePathReqBodyBuilder() *CreateImagePathReqBodyBuilder

func (*CreateImagePathReqBodyBuilder) Build

func (*CreateImagePathReqBodyBuilder) ImagePath

func (*CreateImagePathReqBodyBuilder) ImageType

type CreateImageReq

type CreateImageReq struct {
	Body *CreateImageReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateImageReqBody

type CreateImageReqBody struct {
	ImageType *string   `json:"image_type,omitempty"`
	Image     io.Reader `json:"image,omitempty"`
}

type CreateImageReqBodyBuilder

type CreateImageReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateImageReqBodyBuilder

func NewCreateImageReqBodyBuilder() *CreateImageReqBodyBuilder

生成body的New构造器

func (*CreateImageReqBodyBuilder) Build

1.3 生成body的build方法

func (*CreateImageReqBodyBuilder) Image

func (*CreateImageReqBodyBuilder) ImageType

func (builder *CreateImageReqBodyBuilder) ImageType(imageType string) *CreateImageReqBodyBuilder

1.2 生成body的builder属性方法

type CreateImageReqBuilder

type CreateImageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateImageReqBuilder

func NewCreateImageReqBuilder() *CreateImageReqBuilder

生成请求的New构造器

func (*CreateImageReqBuilder) Body

1.5 生成请求的builder属性方法

func (*CreateImageReqBuilder) Build

func (builder *CreateImageReqBuilder) Build() *CreateImageReq

1.5 生成请求的builder的build方法

type CreateImageResp

type CreateImageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateImageRespData `json:"data"`
}

func (*CreateImageResp) Success

func (resp *CreateImageResp) Success() bool

type CreateImageRespData

type CreateImageRespData struct {
	ImageKey *string `json:"image_key,omitempty"`
}

type CreateMessagePathReqBodyBuilder

type CreateMessagePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateMessagePathReqBodyBuilder

func NewCreateMessagePathReqBodyBuilder() *CreateMessagePathReqBodyBuilder

func (*CreateMessagePathReqBodyBuilder) Build

func (*CreateMessagePathReqBodyBuilder) Content

func (*CreateMessagePathReqBodyBuilder) MsgType

func (*CreateMessagePathReqBodyBuilder) ReceiveId

type CreateMessageReactionPathReqBodyBuilder

type CreateMessageReactionPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewCreateMessageReactionPathReqBodyBuilder

func NewCreateMessageReactionPathReqBodyBuilder() *CreateMessageReactionPathReqBodyBuilder

func (*CreateMessageReactionPathReqBodyBuilder) Build

func (*CreateMessageReactionPathReqBodyBuilder) ReactionType

type CreateMessageReactionReq

type CreateMessageReactionReq struct {
	Body *CreateMessageReactionReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateMessageReactionReqBody

type CreateMessageReactionReqBody struct {
	ReactionType *Emoji `json:"reaction_type,omitempty"`
}

type CreateMessageReactionReqBodyBuilder

type CreateMessageReactionReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateMessageReactionReqBodyBuilder

func NewCreateMessageReactionReqBodyBuilder() *CreateMessageReactionReqBodyBuilder

生成body的New构造器

func (*CreateMessageReactionReqBodyBuilder) Build

1.3 生成body的build方法

func (*CreateMessageReactionReqBodyBuilder) ReactionType

1.2 生成body的builder属性方法

type CreateMessageReactionReqBuilder

type CreateMessageReactionReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateMessageReactionReqBuilder

func NewCreateMessageReactionReqBuilder() *CreateMessageReactionReqBuilder

生成请求的New构造器

func (*CreateMessageReactionReqBuilder) Body

func (*CreateMessageReactionReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateMessageReactionReqBuilder) MessageId

1.5 生成请求的builder属性方法

type CreateMessageReactionResp

type CreateMessageReactionResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMessageReactionRespData `json:"data"`
}

func (*CreateMessageReactionResp) Success

func (resp *CreateMessageReactionResp) Success() bool

type CreateMessageReactionRespData

type CreateMessageReactionRespData struct {
	ReactionId   *string   `json:"reaction_id,omitempty"`
	Operator     *Operator `json:"operator,omitempty"`
	ActionTime   *string   `json:"action_time,omitempty"`
	ReactionType *Emoji    `json:"reaction_type,omitempty"`
}

type CreateMessageReq

type CreateMessageReq struct {
	Body *CreateMessageReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateMessageReqBody

type CreateMessageReqBody struct {
	ReceiveId *string `json:"receive_id,omitempty"`
	Content   *string `json:"content,omitempty"`
	MsgType   *string `json:"msg_type,omitempty"`
}

type CreateMessageReqBodyBuilder

type CreateMessageReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateMessageReqBodyBuilder

func NewCreateMessageReqBodyBuilder() *CreateMessageReqBodyBuilder

生成body的New构造器

func (*CreateMessageReqBodyBuilder) Build

1.3 生成body的build方法

func (*CreateMessageReqBodyBuilder) Content

func (*CreateMessageReqBodyBuilder) MsgType

func (*CreateMessageReqBodyBuilder) ReceiveId

func (builder *CreateMessageReqBodyBuilder) ReceiveId(receiveId string) *CreateMessageReqBodyBuilder

1.2 生成body的builder属性方法

type CreateMessageReqBuilder

type CreateMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewCreateMessageReqBuilder

func NewCreateMessageReqBuilder() *CreateMessageReqBuilder

生成请求的New构造器

func (*CreateMessageReqBuilder) Body

func (*CreateMessageReqBuilder) Build

func (builder *CreateMessageReqBuilder) Build() *CreateMessageReq

1.5 生成请求的builder的build方法

func (*CreateMessageReqBuilder) ReceiveIdType

func (builder *CreateMessageReqBuilder) ReceiveIdType(receiveIdType string) *CreateMessageReqBuilder

1.5 生成请求的builder属性方法

type CreateMessageResp

type CreateMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMessageRespData `json:"data"`
}

func (*CreateMessageResp) Success

func (resp *CreateMessageResp) Success() bool

type CreateMessageRespData

type CreateMessageRespData 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     *string      `json:"create_time,omitempty"`
	UpdateTime     *string      `json:"update_time,omitempty"`
	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 DeleteBatchMessageReq

type DeleteBatchMessageReq struct {
	// contains filtered or unexported fields
}

type DeleteBatchMessageReqBuilder

type DeleteBatchMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteBatchMessageReqBuilder

func NewDeleteBatchMessageReqBuilder() *DeleteBatchMessageReqBuilder

生成请求的New构造器

func (*DeleteBatchMessageReqBuilder) BatchMessageId

func (builder *DeleteBatchMessageReqBuilder) BatchMessageId(batchMessageId string) *DeleteBatchMessageReqBuilder

1.5 生成请求的builder属性方法

func (*DeleteBatchMessageReqBuilder) Build

1.5 生成请求的builder的build方法

type DeleteBatchMessageResp

type DeleteBatchMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteBatchMessageResp) Success

func (resp *DeleteBatchMessageResp) Success() bool

type DeleteChatMembersPathReqBodyBuilder

type DeleteChatMembersPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewDeleteChatMembersPathReqBodyBuilder

func NewDeleteChatMembersPathReqBodyBuilder() *DeleteChatMembersPathReqBodyBuilder

func (*DeleteChatMembersPathReqBodyBuilder) Build

func (*DeleteChatMembersPathReqBodyBuilder) IdList

type DeleteChatMembersReq

type DeleteChatMembersReq struct {
	Body *DeleteChatMembersReqBody `body:""`
	// contains filtered or unexported fields
}

type DeleteChatMembersReqBody

type DeleteChatMembersReqBody struct {
	IdList []string `json:"id_list,omitempty"`
}

type DeleteChatMembersReqBodyBuilder

type DeleteChatMembersReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteChatMembersReqBodyBuilder

func NewDeleteChatMembersReqBodyBuilder() *DeleteChatMembersReqBodyBuilder

生成body的New构造器

func (*DeleteChatMembersReqBodyBuilder) Build

1.3 生成body的build方法

func (*DeleteChatMembersReqBodyBuilder) IdList

1.2 生成body的builder属性方法

type DeleteChatMembersReqBuilder

type DeleteChatMembersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteChatMembersReqBuilder

func NewDeleteChatMembersReqBuilder() *DeleteChatMembersReqBuilder

生成请求的New构造器

func (*DeleteChatMembersReqBuilder) Body

func (*DeleteChatMembersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteChatMembersReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*DeleteChatMembersReqBuilder) MemberIdType

func (builder *DeleteChatMembersReqBuilder) MemberIdType(memberIdType string) *DeleteChatMembersReqBuilder

type DeleteChatMembersResp

type DeleteChatMembersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteChatMembersRespData `json:"data"`
}

func (*DeleteChatMembersResp) Success

func (resp *DeleteChatMembersResp) Success() bool

type DeleteChatMembersRespData

type DeleteChatMembersRespData struct {
	InvalidIdList []string `json:"invalid_id_list,omitempty"`
}

type DeleteChatReq

type DeleteChatReq struct {
	// contains filtered or unexported fields
}

type DeleteChatReqBuilder

type DeleteChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteChatReqBuilder

func NewDeleteChatReqBuilder() *DeleteChatReqBuilder

生成请求的New构造器

func (*DeleteChatReqBuilder) Build

func (builder *DeleteChatReqBuilder) Build() *DeleteChatReq

1.5 生成请求的builder的build方法

func (*DeleteChatReqBuilder) ChatId

func (builder *DeleteChatReqBuilder) ChatId(chatId string) *DeleteChatReqBuilder

1.5 生成请求的builder属性方法

type DeleteChatResp

type DeleteChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteChatResp) Success

func (resp *DeleteChatResp) Success() bool

type DeleteManagersChatManagersPathReqBodyBuilder

type DeleteManagersChatManagersPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewDeleteManagersChatManagersPathReqBodyBuilder

func NewDeleteManagersChatManagersPathReqBodyBuilder() *DeleteManagersChatManagersPathReqBodyBuilder

func (*DeleteManagersChatManagersPathReqBodyBuilder) Build

func (*DeleteManagersChatManagersPathReqBodyBuilder) ManagerIds

type DeleteManagersChatManagersReq

type DeleteManagersChatManagersReq struct {
	Body *DeleteManagersChatManagersReqBody `body:""`
	// contains filtered or unexported fields
}

type DeleteManagersChatManagersReqBody

type DeleteManagersChatManagersReqBody struct {
	ManagerIds []string `json:"manager_ids,omitempty"`
}

type DeleteManagersChatManagersReqBodyBuilder

type DeleteManagersChatManagersReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteManagersChatManagersReqBodyBuilder

func NewDeleteManagersChatManagersReqBodyBuilder() *DeleteManagersChatManagersReqBodyBuilder

生成body的New构造器

func (*DeleteManagersChatManagersReqBodyBuilder) Build

1.3 生成body的build方法

func (*DeleteManagersChatManagersReqBodyBuilder) ManagerIds

1.2 生成body的builder属性方法

type DeleteManagersChatManagersReqBuilder

type DeleteManagersChatManagersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteManagersChatManagersReqBuilder

func NewDeleteManagersChatManagersReqBuilder() *DeleteManagersChatManagersReqBuilder

生成请求的New构造器

func (*DeleteManagersChatManagersReqBuilder) Body

func (*DeleteManagersChatManagersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteManagersChatManagersReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*DeleteManagersChatManagersReqBuilder) MemberIdType

type DeleteManagersChatManagersResp

type DeleteManagersChatManagersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteManagersChatManagersRespData `json:"data"`
}

func (*DeleteManagersChatManagersResp) Success

func (resp *DeleteManagersChatManagersResp) Success() bool

type DeleteManagersChatManagersRespData

type DeleteManagersChatManagersRespData struct {
	ChatManagers    []string `json:"chat_managers,omitempty"`
	ChatBotManagers []string `json:"chat_bot_managers,omitempty"`
}

type DeleteMessageReactionReq

type DeleteMessageReactionReq struct {
	// contains filtered or unexported fields
}

type DeleteMessageReactionReqBuilder

type DeleteMessageReactionReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteMessageReactionReqBuilder

func NewDeleteMessageReactionReqBuilder() *DeleteMessageReactionReqBuilder

生成请求的New构造器

func (*DeleteMessageReactionReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteMessageReactionReqBuilder) MessageId

1.5 生成请求的builder属性方法

func (*DeleteMessageReactionReqBuilder) ReactionId

type DeleteMessageReactionResp

type DeleteMessageReactionResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteMessageReactionRespData `json:"data"`
}

func (*DeleteMessageReactionResp) Success

func (resp *DeleteMessageReactionResp) Success() bool

type DeleteMessageReactionRespData

type DeleteMessageReactionRespData struct {
	ReactionId   *string   `json:"reaction_id,omitempty"`
	Operator     *Operator `json:"operator,omitempty"`
	ActionTime   *string   `json:"action_time,omitempty"`
	ReactionType *Emoji    `json:"reaction_type,omitempty"`
}

type DeleteMessageReq

type DeleteMessageReq struct {
	// contains filtered or unexported fields
}

type DeleteMessageReqBuilder

type DeleteMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteMessageReqBuilder

func NewDeleteMessageReqBuilder() *DeleteMessageReqBuilder

生成请求的New构造器

func (*DeleteMessageReqBuilder) Build

func (builder *DeleteMessageReqBuilder) Build() *DeleteMessageReq

1.5 生成请求的builder的build方法

func (*DeleteMessageReqBuilder) MessageId

func (builder *DeleteMessageReqBuilder) MessageId(messageId string) *DeleteMessageReqBuilder

1.5 生成请求的builder属性方法

type DeleteMessageResp

type DeleteMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteMessageResp) Success

func (resp *DeleteMessageResp) Success() bool

type DeleteTabsChatTabPathReqBodyBuilder

type DeleteTabsChatTabPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewDeleteTabsChatTabPathReqBodyBuilder

func NewDeleteTabsChatTabPathReqBodyBuilder() *DeleteTabsChatTabPathReqBodyBuilder

func (*DeleteTabsChatTabPathReqBodyBuilder) Build

func (*DeleteTabsChatTabPathReqBodyBuilder) TabIds

type DeleteTabsChatTabReq

type DeleteTabsChatTabReq struct {
	Body *DeleteTabsChatTabReqBody `body:""`
	// contains filtered or unexported fields
}

type DeleteTabsChatTabReqBody

type DeleteTabsChatTabReqBody struct {
	TabIds []string `json:"tab_ids,omitempty"`
}

type DeleteTabsChatTabReqBodyBuilder

type DeleteTabsChatTabReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteTabsChatTabReqBodyBuilder

func NewDeleteTabsChatTabReqBodyBuilder() *DeleteTabsChatTabReqBodyBuilder

生成body的New构造器

func (*DeleteTabsChatTabReqBodyBuilder) Build

1.3 生成body的build方法

func (*DeleteTabsChatTabReqBodyBuilder) TabIds

1.2 生成body的builder属性方法

type DeleteTabsChatTabReqBuilder

type DeleteTabsChatTabReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteTabsChatTabReqBuilder

func NewDeleteTabsChatTabReqBuilder() *DeleteTabsChatTabReqBuilder

生成请求的New构造器

func (*DeleteTabsChatTabReqBuilder) Body

func (*DeleteTabsChatTabReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteTabsChatTabReqBuilder) ChatId

1.5 生成请求的builder属性方法

type DeleteTabsChatTabResp

type DeleteTabsChatTabResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteTabsChatTabRespData `json:"data"`
}

func (*DeleteTabsChatTabResp) Success

func (resp *DeleteTabsChatTabResp) Success() bool

type DeleteTabsChatTabRespData

type DeleteTabsChatTabRespData struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type DeleteTopNoticeChatTopNoticeReq

type DeleteTopNoticeChatTopNoticeReq struct {
	// contains filtered or unexported fields
}

type DeleteTopNoticeChatTopNoticeReqBuilder

type DeleteTopNoticeChatTopNoticeReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewDeleteTopNoticeChatTopNoticeReqBuilder

func NewDeleteTopNoticeChatTopNoticeReqBuilder() *DeleteTopNoticeChatTopNoticeReqBuilder

生成请求的New构造器

func (*DeleteTopNoticeChatTopNoticeReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteTopNoticeChatTopNoticeReqBuilder) ChatId

1.5 生成请求的builder属性方法

type DeleteTopNoticeChatTopNoticeResp

type DeleteTopNoticeChatTopNoticeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteTopNoticeChatTopNoticeResp) Success

func (resp *DeleteTopNoticeChatTopNoticeResp) Success() bool

type Emoji

type Emoji struct {
	EmojiType *string `json:"emoji_type,omitempty"`
}

type EmojiBuilder

type EmojiBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewEmojiBuilder

func NewEmojiBuilder() *EmojiBuilder

func (*EmojiBuilder) Build

func (builder *EmojiBuilder) Build() *Emoji

func (*EmojiBuilder) EmojiType

func (builder *EmojiBuilder) EmojiType(emojiType string) *EmojiBuilder

type EventMessage

type EventMessage struct {
	MessageId   *string         `json:"message_id,omitempty"`
	RootId      *string         `json:"root_id,omitempty"`
	ParentId    *string         `json:"parent_id,omitempty"`
	CreateTime  *string         `json:"create_time,omitempty"`
	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"`
}

type EventMessageBuilder

type EventMessageBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewEventMessageBuilder

func NewEventMessageBuilder() *EventMessageBuilder

func (*EventMessageBuilder) Build

func (builder *EventMessageBuilder) Build() *EventMessage

func (*EventMessageBuilder) ChatId

func (builder *EventMessageBuilder) ChatId(chatId string) *EventMessageBuilder

func (*EventMessageBuilder) ChatType

func (builder *EventMessageBuilder) ChatType(chatType string) *EventMessageBuilder

func (*EventMessageBuilder) Content

func (builder *EventMessageBuilder) Content(content string) *EventMessageBuilder

func (*EventMessageBuilder) CreateTime

func (builder *EventMessageBuilder) CreateTime(createTime string) *EventMessageBuilder

func (*EventMessageBuilder) Mentions

func (builder *EventMessageBuilder) Mentions(mentions []*MentionEvent) *EventMessageBuilder

func (*EventMessageBuilder) MessageId

func (builder *EventMessageBuilder) MessageId(messageId string) *EventMessageBuilder

func (*EventMessageBuilder) MessageType

func (builder *EventMessageBuilder) MessageType(messageType string) *EventMessageBuilder

func (*EventMessageBuilder) ParentId

func (builder *EventMessageBuilder) ParentId(parentId string) *EventMessageBuilder

func (*EventMessageBuilder) RootId

func (builder *EventMessageBuilder) RootId(rootId string) *EventMessageBuilder

type EventMessageReader

type EventMessageReader struct {
	ReaderId  *UserId `json:"reader_id,omitempty"`
	ReadTime  *string `json:"read_time,omitempty"`
	TenantKey *string `json:"tenant_key,omitempty"`
}

type EventMessageReaderBuilder

type EventMessageReaderBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewEventMessageReaderBuilder

func NewEventMessageReaderBuilder() *EventMessageReaderBuilder

func (*EventMessageReaderBuilder) Build

func (*EventMessageReaderBuilder) ReadTime

func (builder *EventMessageReaderBuilder) ReadTime(readTime string) *EventMessageReaderBuilder

func (*EventMessageReaderBuilder) ReaderId

func (builder *EventMessageReaderBuilder) ReaderId(readerId *UserId) *EventMessageReaderBuilder

func (*EventMessageReaderBuilder) TenantKey

func (builder *EventMessageReaderBuilder) TenantKey(tenantKey string) *EventMessageReaderBuilder

type EventSender

type EventSender struct {
	SenderId   *UserId `json:"sender_id,omitempty"`
	SenderType *string `json:"sender_type,omitempty"`
	TenantKey  *string `json:"tenant_key,omitempty"`
}

type EventSenderBuilder

type EventSenderBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewEventSenderBuilder

func NewEventSenderBuilder() *EventSenderBuilder

func (*EventSenderBuilder) Build

func (builder *EventSenderBuilder) Build() *EventSender

func (*EventSenderBuilder) SenderId

func (builder *EventSenderBuilder) SenderId(senderId *UserId) *EventSenderBuilder

func (*EventSenderBuilder) SenderType

func (builder *EventSenderBuilder) SenderType(senderType string) *EventSenderBuilder

func (*EventSenderBuilder) TenantKey

func (builder *EventSenderBuilder) TenantKey(tenantKey string) *EventSenderBuilder

type File

type File struct {
}

type GetChatAnnouncementReq

type GetChatAnnouncementReq struct {
	// contains filtered or unexported fields
}

type GetChatAnnouncementReqBuilder

type GetChatAnnouncementReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetChatAnnouncementReqBuilder

func NewGetChatAnnouncementReqBuilder() *GetChatAnnouncementReqBuilder

生成请求的New构造器

func (*GetChatAnnouncementReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetChatAnnouncementReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*GetChatAnnouncementReqBuilder) UserIdType

func (builder *GetChatAnnouncementReqBuilder) UserIdType(userIdType string) *GetChatAnnouncementReqBuilder

type GetChatAnnouncementResp

type GetChatAnnouncementResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetChatAnnouncementRespData `json:"data"`
}

func (*GetChatAnnouncementResp) Success

func (resp *GetChatAnnouncementResp) Success() bool

type GetChatAnnouncementRespData

type GetChatAnnouncementRespData 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 GetChatMembersIterator

type GetChatMembersIterator struct {
	// contains filtered or unexported fields
}

func (*GetChatMembersIterator) Next

func (iterator *GetChatMembersIterator) Next() (bool, *ListMember, error)

func (*GetChatMembersIterator) NextPageToken

func (iterator *GetChatMembersIterator) NextPageToken() *string

type GetChatMembersReq

type GetChatMembersReq struct {
	Limit int
	// contains filtered or unexported fields
}

type GetChatMembersReqBuilder

type GetChatMembersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetChatMembersReqBuilder

func NewGetChatMembersReqBuilder() *GetChatMembersReqBuilder

生成请求的New构造器

func (*GetChatMembersReqBuilder) Build

func (builder *GetChatMembersReqBuilder) Build() *GetChatMembersReq

1.5 生成请求的builder的build方法

func (*GetChatMembersReqBuilder) ChatId

func (builder *GetChatMembersReqBuilder) ChatId(chatId string) *GetChatMembersReqBuilder

func (*GetChatMembersReqBuilder) Limit

func (builder *GetChatMembersReqBuilder) Limit(limit int) *GetChatMembersReqBuilder

1.5 生成请求的builder属性方法

func (*GetChatMembersReqBuilder) MemberIdType

func (builder *GetChatMembersReqBuilder) MemberIdType(memberIdType string) *GetChatMembersReqBuilder

func (*GetChatMembersReqBuilder) PageSize

func (builder *GetChatMembersReqBuilder) PageSize(pageSize int) *GetChatMembersReqBuilder

func (*GetChatMembersReqBuilder) PageToken

func (builder *GetChatMembersReqBuilder) PageToken(pageToken string) *GetChatMembersReqBuilder

type GetChatMembersResp

type GetChatMembersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetChatMembersRespData `json:"data"`
}

func (*GetChatMembersResp) Success

func (resp *GetChatMembersResp) Success() bool

type GetChatMembersRespData

type GetChatMembersRespData 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 GetChatModerationIterator

type GetChatModerationIterator struct {
	// contains filtered or unexported fields
}

func (*GetChatModerationIterator) Next

func (iterator *GetChatModerationIterator) Next() (bool, *ListModerator, error)

func (*GetChatModerationIterator) NextPageToken

func (iterator *GetChatModerationIterator) NextPageToken() *string

type GetChatModerationReq

type GetChatModerationReq struct {
	Limit int
	// contains filtered or unexported fields
}

type GetChatModerationReqBuilder

type GetChatModerationReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetChatModerationReqBuilder

func NewGetChatModerationReqBuilder() *GetChatModerationReqBuilder

生成请求的New构造器

func (*GetChatModerationReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetChatModerationReqBuilder) ChatId

func (*GetChatModerationReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*GetChatModerationReqBuilder) PageSize

func (builder *GetChatModerationReqBuilder) PageSize(pageSize int) *GetChatModerationReqBuilder

func (*GetChatModerationReqBuilder) PageToken

func (builder *GetChatModerationReqBuilder) PageToken(pageToken string) *GetChatModerationReqBuilder

func (*GetChatModerationReqBuilder) UserIdType

func (builder *GetChatModerationReqBuilder) UserIdType(userIdType string) *GetChatModerationReqBuilder

type GetChatModerationResp

type GetChatModerationResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetChatModerationRespData `json:"data"`
}

func (*GetChatModerationResp) Success

func (resp *GetChatModerationResp) Success() bool

type GetChatModerationRespData

type GetChatModerationRespData 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 GetChatReq

type GetChatReq struct {
	// contains filtered or unexported fields
}

type GetChatReqBuilder

type GetChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetChatReqBuilder

func NewGetChatReqBuilder() *GetChatReqBuilder

生成请求的New构造器

func (*GetChatReqBuilder) Build

func (builder *GetChatReqBuilder) Build() *GetChatReq

1.5 生成请求的builder的build方法

func (*GetChatReqBuilder) ChatId

func (builder *GetChatReqBuilder) ChatId(chatId string) *GetChatReqBuilder

1.5 生成请求的builder属性方法

func (*GetChatReqBuilder) UserIdType

func (builder *GetChatReqBuilder) UserIdType(userIdType string) *GetChatReqBuilder

type GetChatResp

type GetChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetChatRespData `json:"data"`
}

func (*GetChatResp) Success

func (resp *GetChatResp) Success() bool

type GetChatRespData

type GetChatRespData 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"`
	ShareCardPermission    *string    `json:"share_card_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"`
}

type GetFileReq

type GetFileReq struct {
	// contains filtered or unexported fields
}

type GetFileReqBuilder

type GetFileReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetFileReqBuilder

func NewGetFileReqBuilder() *GetFileReqBuilder

生成请求的New构造器

func (*GetFileReqBuilder) Build

func (builder *GetFileReqBuilder) Build() *GetFileReq

1.5 生成请求的builder的build方法

func (*GetFileReqBuilder) FileKey

func (builder *GetFileReqBuilder) FileKey(fileKey string) *GetFileReqBuilder

1.5 生成请求的builder属性方法

type GetFileResp

type GetFileResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	File     io.Reader `json:"-"`
	FileName string    `json:"-"`
}

func (*GetFileResp) Success

func (resp *GetFileResp) Success() bool

func (*GetFileResp) WriteFile

func (resp *GetFileResp) WriteFile(fileName string) error

下载api,生成WriteFile方法

type GetImageReq

type GetImageReq struct {
	// contains filtered or unexported fields
}

type GetImageReqBuilder

type GetImageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetImageReqBuilder

func NewGetImageReqBuilder() *GetImageReqBuilder

生成请求的New构造器

func (*GetImageReqBuilder) Build

func (builder *GetImageReqBuilder) Build() *GetImageReq

1.5 生成请求的builder的build方法

func (*GetImageReqBuilder) ImageKey

func (builder *GetImageReqBuilder) ImageKey(imageKey string) *GetImageReqBuilder

1.5 生成请求的builder属性方法

type GetImageResp

type GetImageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	File     io.Reader `json:"-"`
	FileName string    `json:"-"`
}

func (*GetImageResp) Success

func (resp *GetImageResp) Success() bool

func (*GetImageResp) WriteFile

func (resp *GetImageResp) WriteFile(fileName string) error

下载api,生成WriteFile方法

type GetMessageReq

type GetMessageReq struct {
	// contains filtered or unexported fields
}

type GetMessageReqBuilder

type GetMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetMessageReqBuilder

func NewGetMessageReqBuilder() *GetMessageReqBuilder

生成请求的New构造器

func (*GetMessageReqBuilder) Build

func (builder *GetMessageReqBuilder) Build() *GetMessageReq

1.5 生成请求的builder的build方法

func (*GetMessageReqBuilder) MessageId

func (builder *GetMessageReqBuilder) MessageId(messageId string) *GetMessageReqBuilder

1.5 生成请求的builder属性方法

type GetMessageResourceReq

type GetMessageResourceReq struct {
	// contains filtered or unexported fields
}

type GetMessageResourceReqBuilder

type GetMessageResourceReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetMessageResourceReqBuilder

func NewGetMessageResourceReqBuilder() *GetMessageResourceReqBuilder

生成请求的New构造器

func (*GetMessageResourceReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetMessageResourceReqBuilder) FileKey

func (*GetMessageResourceReqBuilder) MessageId

func (builder *GetMessageResourceReqBuilder) MessageId(messageId string) *GetMessageResourceReqBuilder

1.5 生成请求的builder属性方法

func (*GetMessageResourceReqBuilder) Type

type GetMessageResourceResp

type GetMessageResourceResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	File     io.Reader `json:"-"`
	FileName string    `json:"-"`
}

func (*GetMessageResourceResp) Success

func (resp *GetMessageResourceResp) Success() bool

func (*GetMessageResourceResp) WriteFile

func (resp *GetMessageResourceResp) WriteFile(fileName string) error

下载api,生成WriteFile方法

type GetMessageResp

type GetMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetMessageRespData `json:"data"`
}

func (*GetMessageResp) Success

func (resp *GetMessageResp) Success() bool

type GetMessageRespData

type GetMessageRespData struct {
	Items []*Message `json:"items,omitempty"`
}

type GetProgressBatchMessageReq

type GetProgressBatchMessageReq struct {
	// contains filtered or unexported fields
}

type GetProgressBatchMessageReqBuilder

type GetProgressBatchMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewGetProgressBatchMessageReqBuilder

func NewGetProgressBatchMessageReqBuilder() *GetProgressBatchMessageReqBuilder

生成请求的New构造器

func (*GetProgressBatchMessageReqBuilder) BatchMessageId

func (builder *GetProgressBatchMessageReqBuilder) BatchMessageId(batchMessageId string) *GetProgressBatchMessageReqBuilder

1.5 生成请求的builder属性方法

func (*GetProgressBatchMessageReqBuilder) Build

1.5 生成请求的builder的build方法

type GetProgressBatchMessageResp

type GetProgressBatchMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetProgressBatchMessageRespData `json:"data"`
}

func (*GetProgressBatchMessageResp) Success

func (resp *GetProgressBatchMessageResp) Success() bool

type GetProgressBatchMessageRespData

type GetProgressBatchMessageRespData struct {
	BatchMessageSendProgress   *BatchMessageSendProgress   `json:"batch_message_send_progress,omitempty"`
	BatchMessageRecallProgress *BatchMessageRecallProgress `json:"batch_message_recall_progress,omitempty"`
}

type I18nNames

type I18nNames struct {
	ZhCn *string `json:"zh_cn,omitempty"`
	EnUs *string `json:"en_us,omitempty"`
	JaJp *string `json:"ja_jp,omitempty"`
}

type I18nNamesBuilder

type I18nNamesBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewI18nNamesBuilder

func NewI18nNamesBuilder() *I18nNamesBuilder

func (*I18nNamesBuilder) Build

func (builder *I18nNamesBuilder) Build() *I18nNames

func (*I18nNamesBuilder) EnUs

func (builder *I18nNamesBuilder) EnUs(enUs string) *I18nNamesBuilder

func (*I18nNamesBuilder) JaJp

func (builder *I18nNamesBuilder) JaJp(jaJp string) *I18nNamesBuilder

func (*I18nNamesBuilder) ZhCn

func (builder *I18nNamesBuilder) ZhCn(zhCn string) *I18nNamesBuilder

type ImDepthData

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"`
}

type ImDepthDataBuilder

type ImDepthDataBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewImDepthDataBuilder

func NewImDepthDataBuilder() *ImDepthDataBuilder

func (*ImDepthDataBuilder) AvgSendMsgCnt

func (builder *ImDepthDataBuilder) AvgSendMsgCnt(avgSendMsgCnt float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) Build

func (builder *ImDepthDataBuilder) Build() *ImDepthData

func (*ImDepthDataBuilder) DepartmentId

func (builder *ImDepthDataBuilder) DepartmentId(departmentId string) *ImDepthDataBuilder

func (*ImDepthDataBuilder) DepartmentPath

func (builder *ImDepthDataBuilder) DepartmentPath(departmentPath string) *ImDepthDataBuilder

func (*ImDepthDataBuilder) DeptGroupSendMsgRate

func (builder *ImDepthDataBuilder) DeptGroupSendMsgRate(deptGroupSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) FileSendMsgRate

func (builder *ImDepthDataBuilder) FileSendMsgRate(fileSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) GroupAtMsgRate

func (builder *ImDepthDataBuilder) GroupAtMsgRate(groupAtMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) GroupReplyMsgRate

func (builder *ImDepthDataBuilder) GroupReplyMsgRate(groupReplyMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) ImgSendMsgRate

func (builder *ImDepthDataBuilder) ImgSendMsgRate(imgSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) MeetingGroupSendMsgRate

func (builder *ImDepthDataBuilder) MeetingGroupSendMsgRate(meetingGroupSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) MobileAvgSendMsgCnt

func (builder *ImDepthDataBuilder) MobileAvgSendMsgCnt(mobileAvgSendMsgCnt float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) MobileSendMsgRate

func (builder *ImDepthDataBuilder) MobileSendMsgRate(mobileSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) P2pSendMsgRate

func (builder *ImDepthDataBuilder) P2pSendMsgRate(p2pSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) PDate

func (builder *ImDepthDataBuilder) PDate(pDate string) *ImDepthDataBuilder

func (*ImDepthDataBuilder) PcAvgSendMsgCnt

func (builder *ImDepthDataBuilder) PcAvgSendMsgCnt(pcAvgSendMsgCnt float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) PcSendMsgRate

func (builder *ImDepthDataBuilder) PcSendMsgRate(pcSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) PostSendMsgRate

func (builder *ImDepthDataBuilder) PostSendMsgRate(postSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) ReactionRate

func (builder *ImDepthDataBuilder) ReactionRate(reactionRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) SendMsgRate

func (builder *ImDepthDataBuilder) SendMsgRate(sendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) StickerSendMsgRate

func (builder *ImDepthDataBuilder) StickerSendMsgRate(stickerSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) TenantGroupSendMsgRate

func (builder *ImDepthDataBuilder) TenantGroupSendMsgRate(tenantGroupSendMsgRate float64) *ImDepthDataBuilder

func (*ImDepthDataBuilder) TopicGroupSendMsgRate

func (builder *ImDepthDataBuilder) TopicGroupSendMsgRate(topicGroupSendMsgRate float64) *ImDepthDataBuilder

type ImService

type ImService struct {
	BatchMessage     *batchMessage
	Chat             *chat
	ChatAnnouncement *chatAnnouncement
	ChatManagers     *chatManagers
	ChatMemberBot    *chatMemberBot
	ChatMemberUser   *chatMemberUser
	ChatMembers      *chatMembers
	ChatModeration   *chatModeration
	ChatTab          *chatTab
	ChatTopNotice    *chatTopNotice
	File             *file
	Image            *image
	Message          *message
	MessageReaction  *messageReaction
	MessageResource  *messageResource
	// contains filtered or unexported fields
}

业务域服务定义

func NewService

func NewService(config *larkcore.Config) *ImService

构建业务域服务实例

type Image

type Image struct {
}

type IsInChatChatMembersReq

type IsInChatChatMembersReq struct {
	// contains filtered or unexported fields
}

type IsInChatChatMembersReqBuilder

type IsInChatChatMembersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewIsInChatChatMembersReqBuilder

func NewIsInChatChatMembersReqBuilder() *IsInChatChatMembersReqBuilder

生成请求的New构造器

func (*IsInChatChatMembersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*IsInChatChatMembersReqBuilder) ChatId

1.5 生成请求的builder属性方法

type IsInChatChatMembersResp

type IsInChatChatMembersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *IsInChatChatMembersRespData `json:"data"`
}

func (*IsInChatChatMembersResp) Success

func (resp *IsInChatChatMembersResp) Success() bool

type IsInChatChatMembersRespData

type IsInChatChatMembersRespData struct {
	IsInChat *bool `json:"is_in_chat,omitempty"`
}

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"`
}

type ListChatBuilder

type ListChatBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewListChatBuilder

func NewListChatBuilder() *ListChatBuilder

func (*ListChatBuilder) Avatar

func (builder *ListChatBuilder) Avatar(avatar string) *ListChatBuilder

func (*ListChatBuilder) Build

func (builder *ListChatBuilder) Build() *ListChat

func (*ListChatBuilder) ChatId

func (builder *ListChatBuilder) ChatId(chatId string) *ListChatBuilder

func (*ListChatBuilder) Description

func (builder *ListChatBuilder) Description(description string) *ListChatBuilder

func (*ListChatBuilder) External

func (builder *ListChatBuilder) External(external bool) *ListChatBuilder

func (*ListChatBuilder) Name

func (builder *ListChatBuilder) Name(name string) *ListChatBuilder

func (*ListChatBuilder) OwnerId

func (builder *ListChatBuilder) OwnerId(ownerId string) *ListChatBuilder

func (*ListChatBuilder) OwnerIdType

func (builder *ListChatBuilder) OwnerIdType(ownerIdType string) *ListChatBuilder

func (*ListChatBuilder) TenantKey

func (builder *ListChatBuilder) TenantKey(tenantKey string) *ListChatBuilder

type ListChatIterator

type ListChatIterator struct {
	// contains filtered or unexported fields
}

生成请求的builder构造器 1.1 生成body的builder结构体

func (*ListChatIterator) Next

func (iterator *ListChatIterator) Next() (bool, *ListChat, error)

func (*ListChatIterator) NextPageToken

func (iterator *ListChatIterator) NextPageToken() *string

type ListChatReq

type ListChatReq struct {
	Limit int
	// contains filtered or unexported fields
}

type ListChatReqBuilder

type ListChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewListChatReqBuilder

func NewListChatReqBuilder() *ListChatReqBuilder

生成请求的New构造器

func (*ListChatReqBuilder) Build

func (builder *ListChatReqBuilder) Build() *ListChatReq

1.5 生成请求的builder的build方法

func (*ListChatReqBuilder) Limit

func (builder *ListChatReqBuilder) Limit(limit int) *ListChatReqBuilder

1.5 生成请求的builder属性方法

func (*ListChatReqBuilder) PageSize

func (builder *ListChatReqBuilder) PageSize(pageSize int) *ListChatReqBuilder

func (*ListChatReqBuilder) PageToken

func (builder *ListChatReqBuilder) PageToken(pageToken string) *ListChatReqBuilder

func (*ListChatReqBuilder) UserIdType

func (builder *ListChatReqBuilder) UserIdType(userIdType string) *ListChatReqBuilder

type ListChatResp

type ListChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListChatRespData `json:"data"`
}

func (*ListChatResp) Success

func (resp *ListChatResp) Success() bool

type ListChatRespData

type ListChatRespData struct {
	Items     []*ListChat `json:"items,omitempty"`
	PageToken *string     `json:"page_token,omitempty"`
	HasMore   *bool       `json:"has_more,omitempty"`
}

type ListEventModerator

type ListEventModerator struct {
	TenantKey *string `json:"tenant_key,omitempty"`
	UserId    *UserId `json:"user_id,omitempty"`
}

type ListEventModeratorBuilder

type ListEventModeratorBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewListEventModeratorBuilder

func NewListEventModeratorBuilder() *ListEventModeratorBuilder

func (*ListEventModeratorBuilder) Build

func (*ListEventModeratorBuilder) TenantKey

func (builder *ListEventModeratorBuilder) TenantKey(tenantKey string) *ListEventModeratorBuilder

func (*ListEventModeratorBuilder) UserId

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"`
}

type ListMemberBuilder

type ListMemberBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewListMemberBuilder

func NewListMemberBuilder() *ListMemberBuilder

func (*ListMemberBuilder) Build

func (builder *ListMemberBuilder) Build() *ListMember

func (*ListMemberBuilder) MemberId

func (builder *ListMemberBuilder) MemberId(memberId string) *ListMemberBuilder

func (*ListMemberBuilder) MemberIdType

func (builder *ListMemberBuilder) MemberIdType(memberIdType string) *ListMemberBuilder

func (*ListMemberBuilder) Name

func (builder *ListMemberBuilder) Name(name string) *ListMemberBuilder

func (*ListMemberBuilder) TenantKey

func (builder *ListMemberBuilder) TenantKey(tenantKey string) *ListMemberBuilder

type ListMessageIterator

type ListMessageIterator struct {
	// contains filtered or unexported fields
}

func (*ListMessageIterator) Next

func (iterator *ListMessageIterator) Next() (bool, *Message, error)

func (*ListMessageIterator) NextPageToken

func (iterator *ListMessageIterator) NextPageToken() *string

type ListMessageReactionIterator

type ListMessageReactionIterator struct {
	// contains filtered or unexported fields
}

func (*ListMessageReactionIterator) Next

func (iterator *ListMessageReactionIterator) Next() (bool, *MessageReaction, error)

func (*ListMessageReactionIterator) NextPageToken

func (iterator *ListMessageReactionIterator) NextPageToken() *string

type ListMessageReactionReq

type ListMessageReactionReq struct {
	Limit int
	// contains filtered or unexported fields
}

type ListMessageReactionReqBuilder

type ListMessageReactionReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewListMessageReactionReqBuilder

func NewListMessageReactionReqBuilder() *ListMessageReactionReqBuilder

生成请求的New构造器

func (*ListMessageReactionReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListMessageReactionReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*ListMessageReactionReqBuilder) MessageId

func (*ListMessageReactionReqBuilder) PageSize

func (*ListMessageReactionReqBuilder) PageToken

func (*ListMessageReactionReqBuilder) ReactionType

func (builder *ListMessageReactionReqBuilder) ReactionType(reactionType string) *ListMessageReactionReqBuilder

func (*ListMessageReactionReqBuilder) UserIdType

func (builder *ListMessageReactionReqBuilder) UserIdType(userIdType string) *ListMessageReactionReqBuilder

type ListMessageReactionResp

type ListMessageReactionResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMessageReactionRespData `json:"data"`
}

func (*ListMessageReactionResp) Success

func (resp *ListMessageReactionResp) Success() bool

type ListMessageReactionRespData

type ListMessageReactionRespData struct {
	Items     []*MessageReaction `json:"items,omitempty"`
	HasMore   *bool              `json:"has_more,omitempty"`
	PageToken *string            `json:"page_token,omitempty"`
}

type ListMessageReq

type ListMessageReq struct {
	Limit int
	// contains filtered or unexported fields
}

type ListMessageReqBuilder

type ListMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewListMessageReqBuilder

func NewListMessageReqBuilder() *ListMessageReqBuilder

生成请求的New构造器

func (*ListMessageReqBuilder) Build

func (builder *ListMessageReqBuilder) Build() *ListMessageReq

1.5 生成请求的builder的build方法

func (*ListMessageReqBuilder) ContainerId

func (builder *ListMessageReqBuilder) ContainerId(containerId string) *ListMessageReqBuilder

func (*ListMessageReqBuilder) ContainerIdType

func (builder *ListMessageReqBuilder) ContainerIdType(containerIdType string) *ListMessageReqBuilder

func (*ListMessageReqBuilder) EndTime

func (builder *ListMessageReqBuilder) EndTime(endTime string) *ListMessageReqBuilder

func (*ListMessageReqBuilder) Limit

func (builder *ListMessageReqBuilder) Limit(limit int) *ListMessageReqBuilder

1.5 生成请求的builder属性方法

func (*ListMessageReqBuilder) PageSize

func (builder *ListMessageReqBuilder) PageSize(pageSize int) *ListMessageReqBuilder

func (*ListMessageReqBuilder) PageToken

func (builder *ListMessageReqBuilder) PageToken(pageToken string) *ListMessageReqBuilder

func (*ListMessageReqBuilder) StartTime

func (builder *ListMessageReqBuilder) StartTime(startTime string) *ListMessageReqBuilder

type ListMessageResp

type ListMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMessageRespData `json:"data"`
}

func (*ListMessageResp) Success

func (resp *ListMessageResp) Success() bool

type ListMessageRespData

type ListMessageRespData struct {
	HasMore   *bool      `json:"has_more,omitempty"`
	PageToken *string    `json:"page_token,omitempty"`
	Items     []*Message `json:"items,omitempty"`
}

type ListModerator

type ListModerator struct {
	UserIdType *string `json:"user_id_type,omitempty"`
	UserId     *string `json:"user_id,omitempty"`
	TenantKey  *string `json:"tenant_key,omitempty"`
}

type ListModeratorBuilder

type ListModeratorBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewListModeratorBuilder

func NewListModeratorBuilder() *ListModeratorBuilder

func (*ListModeratorBuilder) Build

func (builder *ListModeratorBuilder) Build() *ListModerator

func (*ListModeratorBuilder) TenantKey

func (builder *ListModeratorBuilder) TenantKey(tenantKey string) *ListModeratorBuilder

func (*ListModeratorBuilder) UserId

func (builder *ListModeratorBuilder) UserId(userId string) *ListModeratorBuilder

func (*ListModeratorBuilder) UserIdType

func (builder *ListModeratorBuilder) UserIdType(userIdType string) *ListModeratorBuilder

type ListTabsChatTabReq

type ListTabsChatTabReq struct {
	// contains filtered or unexported fields
}

type ListTabsChatTabReqBuilder

type ListTabsChatTabReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewListTabsChatTabReqBuilder

func NewListTabsChatTabReqBuilder() *ListTabsChatTabReqBuilder

生成请求的New构造器

func (*ListTabsChatTabReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListTabsChatTabReqBuilder) ChatId

1.5 生成请求的builder属性方法

type ListTabsChatTabResp

type ListTabsChatTabResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListTabsChatTabRespData `json:"data"`
}

func (*ListTabsChatTabResp) Success

func (resp *ListTabsChatTabResp) Success() bool

type ListTabsChatTabRespData

type ListTabsChatTabRespData struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type MeJoinChatMembersReq

type MeJoinChatMembersReq struct {
	// contains filtered or unexported fields
}

type MeJoinChatMembersReqBuilder

type MeJoinChatMembersReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewMeJoinChatMembersReqBuilder

func NewMeJoinChatMembersReqBuilder() *MeJoinChatMembersReqBuilder

生成请求的New构造器

func (*MeJoinChatMembersReqBuilder) Build

1.5 生成请求的builder的build方法

func (*MeJoinChatMembersReqBuilder) ChatId

1.5 生成请求的builder属性方法

type MeJoinChatMembersResp

type MeJoinChatMembersResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*MeJoinChatMembersResp) Success

func (resp *MeJoinChatMembersResp) Success() bool

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"`
}

type MentionBuilder

type MentionBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMentionBuilder

func NewMentionBuilder() *MentionBuilder

func (*MentionBuilder) Build

func (builder *MentionBuilder) Build() *Mention

func (*MentionBuilder) Id

func (builder *MentionBuilder) Id(id string) *MentionBuilder

func (*MentionBuilder) IdType

func (builder *MentionBuilder) IdType(idType string) *MentionBuilder

func (*MentionBuilder) Key

func (builder *MentionBuilder) Key(key string) *MentionBuilder

func (*MentionBuilder) Name

func (builder *MentionBuilder) Name(name string) *MentionBuilder

func (*MentionBuilder) TenantKey

func (builder *MentionBuilder) TenantKey(tenantKey string) *MentionBuilder

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"`
}

type MentionEventBuilder

type MentionEventBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMentionEventBuilder

func NewMentionEventBuilder() *MentionEventBuilder

func (*MentionEventBuilder) Build

func (builder *MentionEventBuilder) Build() *MentionEvent

func (*MentionEventBuilder) Id

func (*MentionEventBuilder) Key

func (builder *MentionEventBuilder) Key(key string) *MentionEventBuilder

func (*MentionEventBuilder) Name

func (builder *MentionEventBuilder) Name(name string) *MentionEventBuilder

func (*MentionEventBuilder) TenantKey

func (builder *MentionEventBuilder) TenantKey(tenantKey string) *MentionEventBuilder

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     *string      `json:"create_time,omitempty"`
	UpdateTime     *string      `json:"update_time,omitempty"`
	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 MessageAudio

type MessageAudio struct {
	FileKey string `json:"file_key,omitempty"`
}

* audio类型消息结构化 *

func (*MessageAudio) String

func (m *MessageAudio) String() (string, error)

type MessageBody

type MessageBody struct {
	Content *string `json:"content,omitempty"`
}

type MessageBodyBuilder

type MessageBodyBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMessageBodyBuilder

func NewMessageBodyBuilder() *MessageBodyBuilder

func (*MessageBodyBuilder) Build

func (builder *MessageBodyBuilder) Build() *MessageBody

func (*MessageBodyBuilder) Content

func (builder *MessageBodyBuilder) Content(content string) *MessageBodyBuilder

type MessageBuilder

type MessageBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMessageBuilder

func NewMessageBuilder() *MessageBuilder

func (*MessageBuilder) Body

func (builder *MessageBuilder) Body(body *MessageBody) *MessageBuilder

func (*MessageBuilder) Build

func (builder *MessageBuilder) Build() *Message

func (*MessageBuilder) ChatId

func (builder *MessageBuilder) ChatId(chatId string) *MessageBuilder

func (*MessageBuilder) CreateTime

func (builder *MessageBuilder) CreateTime(createTime string) *MessageBuilder

func (*MessageBuilder) Deleted

func (builder *MessageBuilder) Deleted(deleted bool) *MessageBuilder

func (*MessageBuilder) Mentions

func (builder *MessageBuilder) Mentions(mentions []*Mention) *MessageBuilder

func (*MessageBuilder) MessageId

func (builder *MessageBuilder) MessageId(messageId string) *MessageBuilder

func (*MessageBuilder) MsgType

func (builder *MessageBuilder) MsgType(msgType string) *MessageBuilder

func (*MessageBuilder) ParentId

func (builder *MessageBuilder) ParentId(parentId string) *MessageBuilder

func (*MessageBuilder) RootId

func (builder *MessageBuilder) RootId(rootId string) *MessageBuilder

func (*MessageBuilder) Sender

func (builder *MessageBuilder) Sender(sender *Sender) *MessageBuilder

func (*MessageBuilder) UpdateTime

func (builder *MessageBuilder) UpdateTime(updateTime string) *MessageBuilder

func (*MessageBuilder) Updated

func (builder *MessageBuilder) Updated(updated bool) *MessageBuilder

func (*MessageBuilder) UpperMessageId

func (builder *MessageBuilder) UpperMessageId(upperMessageId string) *MessageBuilder

type MessageFile

type MessageFile struct {
	FileKey string `json:"file_key,omitempty"`
}

* 文件类型消息结构化 *

func (*MessageFile) String

func (m *MessageFile) String() (string, error)

type MessageImage

type MessageImage struct {
	ImageKey string `json:"image_key,omitempty"`
}

*

image类型消息结构化

*

func (*MessageImage) String

func (m *MessageImage) String() (string, error)

type MessageMedia

type MessageMedia struct {
	FileKey  string `json:"file_key,omitempty"`
	ImageKey string `json:"image_key,omitempty"`
}

* media类型消息结构化 *

func (*MessageMedia) String

func (m *MessageMedia) String() (string, error)

type MessagePost

type MessagePost struct {
	ZhCN *MessagePostContent `json:"zh_cn,omitempty"`
	EnUS *MessagePostContent `json:"en_us,omitempty"`
	JaJP *MessagePostContent `json:"ja_jp,omitempty"`
}

func NewMessagePost

func NewMessagePost() *MessagePost

func (*MessagePost) Build

func (m *MessagePost) Build() (string, error)

func (*MessagePost) EnUs

func (m *MessagePost) EnUs(enUs *MessagePostContent) *MessagePost

func (*MessagePost) JaJs

func (m *MessagePost) JaJs(jaJp *MessagePostContent) *MessagePost

func (*MessagePost) String

func (m *MessagePost) String() (string, error)

func (*MessagePost) ZhCn

func (m *MessagePost) ZhCn(zhCn *MessagePostContent) *MessagePost

type MessagePostA

type MessagePostA struct {
	Text     string `json:"text,omitempty"`
	Href     string `json:"href,omitempty"`
	UnEscape bool   `json:"un_escape,omitempty"`
}

func (*MessagePostA) IsPost

func (m *MessagePostA) IsPost()

func (*MessagePostA) MarshalJSON

func (m *MessagePostA) MarshalJSON() ([]byte, error)

func (*MessagePostA) Tag

func (m *MessagePostA) Tag() string

type MessagePostAt

type MessagePostAt struct {
	UserId   string `json:"user_id,omitempty"`
	UserName string `json:"user_name,omitempty"`
}

func (*MessagePostAt) IsPost

func (m *MessagePostAt) IsPost()

func (*MessagePostAt) MarshalJSON

func (m *MessagePostAt) MarshalJSON() ([]byte, error)

func (*MessagePostAt) Tag

func (m *MessagePostAt) Tag() string

type MessagePostContent

type MessagePostContent struct {
	Title   string                 `json:"title,omitempty"`
	Content [][]MessagePostElement `json:"content,omitempty"`
}

func NewMessagePostContent

func NewMessagePostContent() *MessagePostContent

func (*MessagePostContent) AppendContent

func (m *MessagePostContent) AppendContent(postElements []MessagePostElement) *MessagePostContent

func (*MessagePostContent) Build

func (*MessagePostContent) ContentTitle

func (m *MessagePostContent) ContentTitle(title string) *MessagePostContent

type MessagePostElement

type MessagePostElement interface {
	Tag() string
	IsPost()
	MarshalJSON() ([]byte, error)
}

type MessagePostText

type MessagePostText struct {
	Text     string `json:"text,omitempty"`
	UnEscape bool   `json:"un_escape,omitempty"`
}

func (*MessagePostText) IsPost

func (m *MessagePostText) IsPost()

func (*MessagePostText) MarshalJSON

func (m *MessagePostText) MarshalJSON() ([]byte, error)

func (*MessagePostText) Tag

func (m *MessagePostText) Tag() string

type MessageReaction

type MessageReaction struct {
	ReactionId   *string   `json:"reaction_id,omitempty"`
	Operator     *Operator `json:"operator,omitempty"`
	ActionTime   *string   `json:"action_time,omitempty"`
	ReactionType *Emoji    `json:"reaction_type,omitempty"`
}

type MessageReactionBuilder

type MessageReactionBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMessageReactionBuilder

func NewMessageReactionBuilder() *MessageReactionBuilder

func (*MessageReactionBuilder) ActionTime

func (builder *MessageReactionBuilder) ActionTime(actionTime string) *MessageReactionBuilder

func (*MessageReactionBuilder) Build

func (builder *MessageReactionBuilder) Build() *MessageReaction

func (*MessageReactionBuilder) Operator

func (builder *MessageReactionBuilder) Operator(operator *Operator) *MessageReactionBuilder

func (*MessageReactionBuilder) ReactionId

func (builder *MessageReactionBuilder) ReactionId(reactionId string) *MessageReactionBuilder

func (*MessageReactionBuilder) ReactionType

func (builder *MessageReactionBuilder) ReactionType(reactionType *Emoji) *MessageReactionBuilder

type MessageResource

type MessageResource struct {
}

type MessageShareChat

type MessageShareChat struct {
	ChatId string `json:"chat_id,omitempty"`
}

func (*MessageShareChat) String

func (m *MessageShareChat) String() (string, error)

type MessageShareUser

type MessageShareUser struct {
	UserId string `json:"user_id,omitempty"`
}

func (*MessageShareUser) String

func (m *MessageShareUser) String() (string, error)

type MessageSticker

type MessageSticker struct {
	FileKey string `json:"file_key,omitempty"`
}

* sticker 类型消息结构化 *

func (*MessageSticker) String

func (m *MessageSticker) String() (string, error)

type MessageText

type MessageText struct {
	// contains filtered or unexported fields
}

* text类型消息结构化

func NewTextMsgBuilder

func NewTextMsgBuilder() *MessageText

func (*MessageText) AtAll

func (t *MessageText) AtAll() *MessageText

func (*MessageText) AtUser

func (t *MessageText) AtUser(userId, name string) *MessageText

func (*MessageText) Build

func (t *MessageText) Build() string

func (*MessageText) Line

func (t *MessageText) Line() *MessageText

func (*MessageText) Text

func (t *MessageText) Text(text string) *MessageText

func (*MessageText) TextLine

func (t *MessageText) TextLine(text string) *MessageText

type ModeratorList

type ModeratorList struct {
	AddedMemberList   []*ListEventModerator `json:"added_member_list,omitempty"`
	RemovedMemberList []*ListEventModerator `json:"removed_member_list,omitempty"`
}

type ModeratorListBuilder

type ModeratorListBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewModeratorListBuilder

func NewModeratorListBuilder() *ModeratorListBuilder

func (*ModeratorListBuilder) AddedMemberList

func (builder *ModeratorListBuilder) AddedMemberList(addedMemberList []*ListEventModerator) *ModeratorListBuilder

func (*ModeratorListBuilder) Build

func (builder *ModeratorListBuilder) Build() *ModeratorList

func (*ModeratorListBuilder) RemovedMemberList

func (builder *ModeratorListBuilder) RemovedMemberList(removedMemberList []*ListEventModerator) *ModeratorListBuilder

type MsgProcessData

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"`
}

type MsgProcessDataBuilder

type MsgProcessDataBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewMsgProcessDataBuilder

func NewMsgProcessDataBuilder() *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgBotImpMsgReadRate12h

func (builder *MsgProcessDataBuilder) AvgBotImpMsgReadRate12h(avgBotImpMsgReadRate12h float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgImpMsgReadRate12h

func (builder *MsgProcessDataBuilder) AvgImpMsgReadRate12h(avgImpMsgReadRate12h float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgImpReadMsgCnt

func (builder *MsgProcessDataBuilder) AvgImpReadMsgCnt(avgImpReadMsgCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgImpReceiveMsgCnt

func (builder *MsgProcessDataBuilder) AvgImpReceiveMsgCnt(avgImpReceiveMsgCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgReadMsgCnt

func (builder *MsgProcessDataBuilder) AvgReadMsgCnt(avgReadMsgCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgReceiveBotMsgCnt

func (builder *MsgProcessDataBuilder) AvgReceiveBotMsgCnt(avgReceiveBotMsgCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgReceiveImpMsgChatCnt

func (builder *MsgProcessDataBuilder) AvgReceiveImpMsgChatCnt(avgReceiveImpMsgChatCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) AvgReceiveMsgCnt

func (builder *MsgProcessDataBuilder) AvgReceiveMsgCnt(avgReceiveMsgCnt float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) BigGroupMsgRate

func (builder *MsgProcessDataBuilder) BigGroupMsgRate(bigGroupMsgRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) BigGroupTopicMsgRate

func (builder *MsgProcessDataBuilder) BigGroupTopicMsgRate(bigGroupTopicMsgRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) Build

func (builder *MsgProcessDataBuilder) Build() *MsgProcessData

func (*MsgProcessDataBuilder) DepartmentId

func (builder *MsgProcessDataBuilder) DepartmentId(departmentId string) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) DepartmentPath

func (builder *MsgProcessDataBuilder) DepartmentPath(departmentPath string) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) HighLoadRate

func (builder *MsgProcessDataBuilder) HighLoadRate(highLoadRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) MsgReadRate12h

func (builder *MsgProcessDataBuilder) MsgReadRate12h(msgReadRate12h float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) PDate

func (builder *MsgProcessDataBuilder) PDate(pDate string) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) ReadMuteMsgRate

func (builder *MsgProcessDataBuilder) ReadMuteMsgRate(readMuteMsgRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) ReceiveBotMsgRate

func (builder *MsgProcessDataBuilder) ReceiveBotMsgRate(receiveBotMsgRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) ReceiveMuteMsgRate

func (builder *MsgProcessDataBuilder) ReceiveMuteMsgRate(receiveMuteMsgRate float64) *MsgProcessDataBuilder

func (*MsgProcessDataBuilder) UseChatBoxRate

func (builder *MsgProcessDataBuilder) UseChatBoxRate(useChatBoxRate float64) *MsgProcessDataBuilder

type Operator

type Operator struct {
	OperatorId   *string `json:"operator_id,omitempty"`
	OperatorType *string `json:"operator_type,omitempty"`
}

type OperatorBuilder

type OperatorBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewOperatorBuilder

func NewOperatorBuilder() *OperatorBuilder

func (*OperatorBuilder) Build

func (builder *OperatorBuilder) Build() *Operator

func (*OperatorBuilder) OperatorId

func (builder *OperatorBuilder) OperatorId(operatorId string) *OperatorBuilder

func (*OperatorBuilder) OperatorType

func (builder *OperatorBuilder) OperatorType(operatorType string) *OperatorBuilder

type P1AddBotV1

type P1AddBotV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1AddBotV1Data `json:"event"`
}

func (*P1AddBotV1) RawReq

func (m *P1AddBotV1) RawReq(req *larkevent.EventReq)

type P1AddBotV1Data

type P1AddBotV1Data struct {
	Type                string         `json:"type,omitempty"`
	AppID               string         `json:"app_id,omitempty"`
	ChatI18nNames       *ChatI18nNames `json:"chat_i18n_names,omitempty"`
	ChatName            string         `json:"chat_name,omitempty"`
	ChatOwnerEmployeeID string         `json:"chat_owner_employee_id,omitempty"`
	ChatOwnerName       string         `json:"chat_owner_name,omitempty"`
	ChatOwnerOpenID     string         `json:"chat_owner_open_id,omitempty"`
	OpenChatID          string         `json:"open_chat_id,omitempty"`
	OperatorEmployeeID  string         `json:"operator_employee_id,omitempty"`
	OperatorName        string         `json:"operator_name,omitempty"`
	OperatorOpenID      string         `json:"operator_open_id,omitempty"`
	OwnerIsBot          bool           `json:"owner_is_bot,omitempty"`
	TenantKey           string         `json:"tenant_key,omitempty"`
}

type P1AddBotV1Handler

type P1AddBotV1Handler struct {
	// contains filtered or unexported fields
}

func NewP1AddBotV1Handler

func NewP1AddBotV1Handler(handler func(context.Context, *P1AddBotV1) error) *P1AddBotV1Handler

func (*P1AddBotV1Handler) Event

func (h *P1AddBotV1Handler) Event() interface{}

func (*P1AddBotV1Handler) Handle

func (h *P1AddBotV1Handler) Handle(ctx context.Context, event interface{}) error

type P1ChatDisbandV1

type P1ChatDisbandV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1ChatDisbandV1Data `json:"event"`
}

func (*P1ChatDisbandV1) RawReq

func (m *P1ChatDisbandV1) RawReq(req *larkevent.EventReq)

type P1ChatDisbandV1Data

type P1ChatDisbandV1Data struct {
	Type      string        `json:"type,omitempty"`
	AppID     string        `json:"app_id,omitempty"`
	ChatId    string        `json:"chat_id,omitempty"`
	Operator  *P1OperatorV1 `json:"operator,omitempty"`
	TenantKey string        `json:"tenant_key,omitempty"`
}

type P1ChatDisbandV1Handler

type P1ChatDisbandV1Handler struct {
	// contains filtered or unexported fields
}

func NewP1DisbandChatV1Handler

func NewP1DisbandChatV1Handler(handler func(context.Context, *P1ChatDisbandV1) error) *P1ChatDisbandV1Handler

func (*P1ChatDisbandV1Handler) Event

func (h *P1ChatDisbandV1Handler) Event() interface{}

func (*P1ChatDisbandV1Handler) Handle

func (h *P1ChatDisbandV1Handler) Handle(ctx context.Context, event interface{}) error

type P1GroupSettingChangeV1

type P1GroupSettingChangeV1 struct {
	OwnerOpenId         string `json:"owner_open_id,omitempty"`
	OwnerUserId         string `json:"owner_user_id,omitempty"`
	AddMemberPermission string `json:"add_member_permission,omitempty"`
	MessageNotification bool   `json:"message_notification,omitempty"`
}

type P1GroupSettingUpdatedV1

type P1GroupSettingUpdatedV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1GroupSettingUpdatedV1Data `json:"event"`
}

func (*P1GroupSettingUpdatedV1) RawReq

func (m *P1GroupSettingUpdatedV1) RawReq(req *larkevent.EventReq)

type P1GroupSettingUpdatedV1Data

type P1GroupSettingUpdatedV1Data struct {
	Type         string                  `json:"type,omitempty"`
	AppID        string                  `json:"app_id,omitempty"`
	ChatId       string                  `json:"chat_id,omitempty"`
	Operator     *P1OperatorV1           `json:"operator,omitempty"`
	TenantKey    string                  `json:"tenant_key,omitempty"`
	BeforeChange *P1GroupSettingChangeV1 `json:"before_change,omitempty"`
	AfterChange  *P1GroupSettingChangeV1 `json:"after_change,omitempty"`
}

type P1GroupSettingUpdatedV1Handler

type P1GroupSettingUpdatedV1Handler struct {
	// contains filtered or unexported fields
}

func (*P1GroupSettingUpdatedV1Handler) Event

func (h *P1GroupSettingUpdatedV1Handler) Event() interface{}

func (*P1GroupSettingUpdatedV1Handler) Handle

func (h *P1GroupSettingUpdatedV1Handler) Handle(ctx context.Context, event interface{}) error

type P1MessageReadV1

type P1MessageReadV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1MessageReadV1Data `json:"event"`
}

func (*P1MessageReadV1) RawReq

func (m *P1MessageReadV1) RawReq(req *larkevent.EventReq)

type P1MessageReadV1Data

type P1MessageReadV1Data struct {
	MessageIdList []string `json:"message_id_list,omitempty"`
	AppID         string   `json:"app_id"`
	OpenAppID     string   `json:"open_chat_id"`
	OpenID        string   `json:"open_id"`
	TenantKey     string   `json:"tenant_key"`
	Type          string   `json:"type"`
}

protocol v1的 Message_Read

type P1MessageReadV1Handler

type P1MessageReadV1Handler struct {
	// contains filtered or unexported fields
}

protocol v1 的 message_read

func NewP1MessageReadV1Handler

func NewP1MessageReadV1Handler(handler func(context.Context, *P1MessageReadV1) error) *P1MessageReadV1Handler

func (*P1MessageReadV1Handler) Event

func (h *P1MessageReadV1Handler) Event() interface{}

func (*P1MessageReadV1Handler) Handle

func (h *P1MessageReadV1Handler) Handle(ctx context.Context, event interface{}) error

type P1MessageReceiveV1

type P1MessageReceiveV1 struct {
	*larkevent.EventBase
	*larkevent.EventReq
	Event *P1MessageReceiveV1Data `json:"event"`
}

protocol v1的 message

func (*P1MessageReceiveV1) RawReq

func (m *P1MessageReceiveV1) RawReq(req *larkevent.EventReq)

type P1MessageReceiveV1Data

type P1MessageReceiveV1Data struct {
	Type             string   `json:"type,omitempty"`
	AppID            string   `json:"app_id,omitempty"`
	TenantKey        string   `json:"tenant_key,omitempty"`
	RootID           string   `json:"root_id,omitempty"`
	ParentID         string   `json:"parent_id,omitempty"`
	OpenChatID       string   `json:"open_chat_id,omitempty"`
	ChatType         string   `json:"chat_type,omitempty"`
	MsgType          string   `json:"msg_type,omitempty"`
	OpenID           string   `json:"open_id,omitempty"`
	EmployeeID       string   `json:"employee_id,omitempty"`
	UnionID          string   `json:"union_id,omitempty"`
	OpenMessageID    string   `json:"open_message_id,omitempty"`
	IsMention        bool     `json:"is_mention,omitempty"`
	Text             string   `json:"text,omitempty"`
	TextWithoutAtBot string   `json:"text_without_at_bot,omitempty"`
	Title            string   `json:"title,omitempty"`
	ImageKeys        []string `json:"image_keys,omitempty"`
	ImageKey         string   `json:"image_key,omitempty"`
	FileKey          string   `json:"file_key,omitempty"`
}

type P1MessageReceiveV1Handler

type P1MessageReceiveV1Handler struct {
	// contains filtered or unexported fields
}

protocol v1 的 message

func NewP1MessageReceiveV1Handler

func NewP1MessageReceiveV1Handler(handler func(context.Context, *P1MessageReceiveV1) error) *P1MessageReceiveV1Handler

func (*P1MessageReceiveV1Handler) Event

func (h *P1MessageReceiveV1Handler) Event() interface{}

func (*P1MessageReceiveV1Handler) Handle

func (h *P1MessageReceiveV1Handler) Handle(ctx context.Context, event interface{}) error

type P1OperatorV1

type P1OperatorV1 struct {
	OpenId string `json:"open_id,omitempty"`
	UserId string `json:"user_id,omitempty"`
}

type P1P2PChatCreatedV1

type P1P2PChatCreatedV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1P2PChatCreatedV1Data `json:"event"`
}

func (*P1P2PChatCreatedV1) RawReq

func (m *P1P2PChatCreatedV1) RawReq(req *larkevent.EventReq)

type P1P2PChatCreatedV1Data

type P1P2PChatCreatedV1Data struct {
	AppID     string        `json:"app_id,omitempty"`
	ChatID    string        `json:"chat_id,omitempty"`
	Operator  *P1OperatorV1 `json:"operator,omitempty"`
	TenantKey string        `json:"tenant_key,omitempty"`
	Type      string        `json:"type,omitempty"`
	User      *P1UserV1     `json:"user,omitempty"`
}

type P1P2PChatCreatedV1Handler

type P1P2PChatCreatedV1Handler struct {
	// contains filtered or unexported fields
}

func NewP1P2PChatCreatedV1Handler

func NewP1P2PChatCreatedV1Handler(handler func(context.Context, *P1P2PChatCreatedV1) error) *P1P2PChatCreatedV1Handler

func (*P1P2PChatCreatedV1Handler) Event

func (h *P1P2PChatCreatedV1Handler) Event() interface{}

func (*P1P2PChatCreatedV1Handler) Handle

func (h *P1P2PChatCreatedV1Handler) Handle(ctx context.Context, event interface{}) error

type P1RemoveBotV1

type P1RemoveBotV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1RemoveBotV1Data `json:"event"`
}

func (*P1RemoveBotV1) RawReq

func (m *P1RemoveBotV1) RawReq(req *larkevent.EventReq)

type P1RemoveBotV1Data

type P1RemoveBotV1Data struct {
	Type                string         `json:"type,omitempty"`
	AppID               string         `json:"app_id,omitempty"`
	ChatI18nNames       *ChatI18nNames `json:"chat_i18n_names,omitempty"`
	ChatName            string         `json:"chat_name,omitempty"`
	ChatOwnerEmployeeID string         `json:"chat_owner_employee_id,omitempty"`
	ChatOwnerName       string         `json:"chat_owner_name,omitempty"`
	ChatOwnerOpenID     string         `json:"chat_owner_open_id,omitempty"`
	OpenChatID          string         `json:"open_chat_id,omitempty"`
	OperatorEmployeeID  string         `json:"operator_employee_id,omitempty"`
	OperatorName        string         `json:"operator_name,omitempty"`
	OperatorOpenID      string         `json:"operator_open_id,omitempty"`
	OwnerIsBot          bool           `json:"owner_is_bot,omitempty"`
	TenantKey           string         `json:"tenant_key,omitempty"`
}

type P1RemoveBotV1Handler

type P1RemoveBotV1Handler struct {
	// contains filtered or unexported fields
}

func NewP1RemoveBotV1Handler

func NewP1RemoveBotV1Handler(handler func(context.Context, *P1RemoveBotV1) error) *P1RemoveBotV1Handler

func (*P1RemoveBotV1Handler) Event

func (h *P1RemoveBotV1Handler) Event() interface{}

func (*P1RemoveBotV1Handler) Handle

func (h *P1RemoveBotV1Handler) Handle(ctx context.Context, event interface{}) error

type P1UserInOutChatV1

type P1UserInOutChatV1 struct {
	*larkevent.EventReq
	*larkevent.EventBase
	Event *P1UserInOutChatV1Data `json:"event"`
}

func (*P1UserInOutChatV1) RawReq

func (m *P1UserInOutChatV1) RawReq(req *larkevent.EventReq)

type P1UserInOutChatV1Data

type P1UserInOutChatV1Data struct {
	Type      string        `json:"type,omitempty"`
	AppID     string        `json:"app_id,omitempty"`
	ChatId    string        `json:"chat_id,omitempty"`
	Operator  *P1OperatorV1 `json:"operator,omitempty"`
	TenantKey string        `json:"tenant_key,omitempty"`
	Users     []*P1UserV1   `json:"users,omitempty"`
}

type P1UserInOutChatV1Handler

type P1UserInOutChatV1Handler struct {
	// contains filtered or unexported fields
}

func NewP1UserInOutChatV1Handler

func NewP1UserInOutChatV1Handler(handler func(context.Context, *P1UserInOutChatV1) error) *P1UserInOutChatV1Handler

func (*P1UserInOutChatV1Handler) Event

func (h *P1UserInOutChatV1Handler) Event() interface{}

func (*P1UserInOutChatV1Handler) Handle

func (h *P1UserInOutChatV1Handler) Handle(ctx context.Context, event interface{}) error

type P1UserV1

type P1UserV1 struct {
	OpenId string `json:"open_id,omitempty"`
	UserId string `json:"user_id,omitempty"`
	Name   string `json:"name,omitempty"`
}

type P2ChatDisbandedV1

type P2ChatDisbandedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatDisbandedV1Data `json:"event"`
}

func (*P2ChatDisbandedV1) RawReq

func (m *P2ChatDisbandedV1) RawReq(req *larkevent.EventReq)

type P2ChatDisbandedV1Data

type P2ChatDisbandedV1Data 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"`
}

type P2ChatDisbandedV1Handler

type P2ChatDisbandedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func NewP2ChatDisbandedV1Handler

func NewP2ChatDisbandedV1Handler(handler func(context.Context, *P2ChatDisbandedV1) error) *P2ChatDisbandedV1Handler

func (*P2ChatDisbandedV1Handler) Event

func (h *P2ChatDisbandedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatDisbandedV1Handler) Handle

func (h *P2ChatDisbandedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatMemberBotAddedV1

type P2ChatMemberBotAddedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatMemberBotAddedV1Data `json:"event"`
}

func (*P2ChatMemberBotAddedV1) RawReq

func (m *P2ChatMemberBotAddedV1) RawReq(req *larkevent.EventReq)

type P2ChatMemberBotAddedV1Data

type P2ChatMemberBotAddedV1Data 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"`
}

type P2ChatMemberBotAddedV1Handler

type P2ChatMemberBotAddedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2ChatMemberBotAddedV1Handler) Event

func (h *P2ChatMemberBotAddedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatMemberBotAddedV1Handler) Handle

func (h *P2ChatMemberBotAddedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatMemberBotDeletedV1

type P2ChatMemberBotDeletedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatMemberBotDeletedV1Data `json:"event"`
}

func (*P2ChatMemberBotDeletedV1) RawReq

func (m *P2ChatMemberBotDeletedV1) RawReq(req *larkevent.EventReq)

type P2ChatMemberBotDeletedV1Data

type P2ChatMemberBotDeletedV1Data 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"`
}

type P2ChatMemberBotDeletedV1Handler

type P2ChatMemberBotDeletedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2ChatMemberBotDeletedV1Handler) Event

func (h *P2ChatMemberBotDeletedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatMemberBotDeletedV1Handler) Handle

func (h *P2ChatMemberBotDeletedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatMemberUserAddedV1

type P2ChatMemberUserAddedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatMemberUserAddedV1Data `json:"event"`
}

func (*P2ChatMemberUserAddedV1) RawReq

func (m *P2ChatMemberUserAddedV1) RawReq(req *larkevent.EventReq)

type P2ChatMemberUserAddedV1Data

type P2ChatMemberUserAddedV1Data 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 P2ChatMemberUserAddedV1Handler

type P2ChatMemberUserAddedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2ChatMemberUserAddedV1Handler) Event

func (h *P2ChatMemberUserAddedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatMemberUserAddedV1Handler) Handle

func (h *P2ChatMemberUserAddedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatMemberUserDeletedV1

type P2ChatMemberUserDeletedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatMemberUserDeletedV1Data `json:"event"`
}

func (*P2ChatMemberUserDeletedV1) RawReq

func (m *P2ChatMemberUserDeletedV1) RawReq(req *larkevent.EventReq)

type P2ChatMemberUserDeletedV1Data

type P2ChatMemberUserDeletedV1Data 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 P2ChatMemberUserDeletedV1Handler

type P2ChatMemberUserDeletedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2ChatMemberUserDeletedV1Handler) Event

func (h *P2ChatMemberUserDeletedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatMemberUserDeletedV1Handler) Handle

func (h *P2ChatMemberUserDeletedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatMemberUserWithdrawnV1

type P2ChatMemberUserWithdrawnV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatMemberUserWithdrawnV1Data `json:"event"`
}

func (*P2ChatMemberUserWithdrawnV1) RawReq

func (m *P2ChatMemberUserWithdrawnV1) RawReq(req *larkevent.EventReq)

type P2ChatMemberUserWithdrawnV1Data

type P2ChatMemberUserWithdrawnV1Data 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 P2ChatMemberUserWithdrawnV1Handler

type P2ChatMemberUserWithdrawnV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2ChatMemberUserWithdrawnV1Handler) Event

func (h *P2ChatMemberUserWithdrawnV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatMemberUserWithdrawnV1Handler) Handle

func (h *P2ChatMemberUserWithdrawnV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ChatUpdatedV1

type P2ChatUpdatedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ChatUpdatedV1Data `json:"event"`
}

func (*P2ChatUpdatedV1) RawReq

func (m *P2ChatUpdatedV1) RawReq(req *larkevent.EventReq)

type P2ChatUpdatedV1Data

type P2ChatUpdatedV1Data 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 P2ChatUpdatedV1Handler

type P2ChatUpdatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func NewP2ChatUpdatedV1Handler

func NewP2ChatUpdatedV1Handler(handler func(context.Context, *P2ChatUpdatedV1) error) *P2ChatUpdatedV1Handler

func (*P2ChatUpdatedV1Handler) Event

func (h *P2ChatUpdatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ChatUpdatedV1Handler) Handle

func (h *P2ChatUpdatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MessageReactionCreatedV1

type P2MessageReactionCreatedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2MessageReactionCreatedV1Data `json:"event"`
}

func (*P2MessageReactionCreatedV1) RawReq

func (m *P2MessageReactionCreatedV1) RawReq(req *larkevent.EventReq)

type P2MessageReactionCreatedV1Data

type P2MessageReactionCreatedV1Data 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 P2MessageReactionCreatedV1Handler

type P2MessageReactionCreatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MessageReactionCreatedV1Handler) Event

func (h *P2MessageReactionCreatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MessageReactionCreatedV1Handler) Handle

func (h *P2MessageReactionCreatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MessageReactionDeletedV1

type P2MessageReactionDeletedV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2MessageReactionDeletedV1Data `json:"event"`
}

func (*P2MessageReactionDeletedV1) RawReq

func (m *P2MessageReactionDeletedV1) RawReq(req *larkevent.EventReq)

type P2MessageReactionDeletedV1Data

type P2MessageReactionDeletedV1Data 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 P2MessageReactionDeletedV1Handler

type P2MessageReactionDeletedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MessageReactionDeletedV1Handler) Event

func (h *P2MessageReactionDeletedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MessageReactionDeletedV1Handler) Handle

func (h *P2MessageReactionDeletedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MessageReadV1

type P2MessageReadV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2MessageReadV1Data `json:"event"`
}

func (*P2MessageReadV1) RawReq

func (m *P2MessageReadV1) RawReq(req *larkevent.EventReq)

type P2MessageReadV1Data

type P2MessageReadV1Data struct {
	Reader        *EventMessageReader `json:"reader,omitempty"`
	MessageIdList []string            `json:"message_id_list,omitempty"`
}

type P2MessageReadV1Handler

type P2MessageReadV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func NewP2MessageReadV1Handler

func NewP2MessageReadV1Handler(handler func(context.Context, *P2MessageReadV1) error) *P2MessageReadV1Handler

func (*P2MessageReadV1Handler) Event

func (h *P2MessageReadV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MessageReadV1Handler) Handle

func (h *P2MessageReadV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MessageReceiveV1

type P2MessageReceiveV1 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2MessageReceiveV1Data `json:"event"`
}

func (*P2MessageReceiveV1) RawReq

func (m *P2MessageReceiveV1) RawReq(req *larkevent.EventReq)

type P2MessageReceiveV1Data

type P2MessageReceiveV1Data struct {
	Sender  *EventSender  `json:"sender,omitempty"`
	Message *EventMessage `json:"message,omitempty"`
}

type P2MessageReceiveV1Handler

type P2MessageReceiveV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func NewP2MessageReceiveV1Handler

func NewP2MessageReceiveV1Handler(handler func(context.Context, *P2MessageReceiveV1) error) *P2MessageReceiveV1Handler

func (*P2MessageReceiveV1Handler) Event

func (h *P2MessageReceiveV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MessageReceiveV1Handler) Handle

func (h *P2MessageReceiveV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type PatchChatAnnouncementPathReqBodyBuilder

type PatchChatAnnouncementPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewPatchChatAnnouncementPathReqBodyBuilder

func NewPatchChatAnnouncementPathReqBodyBuilder() *PatchChatAnnouncementPathReqBodyBuilder

func (*PatchChatAnnouncementPathReqBodyBuilder) Build

func (*PatchChatAnnouncementPathReqBodyBuilder) Requests

func (*PatchChatAnnouncementPathReqBodyBuilder) Revision

type PatchChatAnnouncementReq

type PatchChatAnnouncementReq struct {
	Body *PatchChatAnnouncementReqBody `body:""`
	// contains filtered or unexported fields
}

type PatchChatAnnouncementReqBody

type PatchChatAnnouncementReqBody struct {
	Revision *string  `json:"revision,omitempty"`
	Requests []string `json:"requests,omitempty"`
}

type PatchChatAnnouncementReqBodyBuilder

type PatchChatAnnouncementReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchChatAnnouncementReqBodyBuilder

func NewPatchChatAnnouncementReqBodyBuilder() *PatchChatAnnouncementReqBodyBuilder

生成body的New构造器

func (*PatchChatAnnouncementReqBodyBuilder) Build

1.3 生成body的build方法

func (*PatchChatAnnouncementReqBodyBuilder) Requests

func (*PatchChatAnnouncementReqBodyBuilder) Revision

1.2 生成body的builder属性方法

type PatchChatAnnouncementReqBuilder

type PatchChatAnnouncementReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewPatchChatAnnouncementReqBuilder

func NewPatchChatAnnouncementReqBuilder() *PatchChatAnnouncementReqBuilder

生成请求的New构造器

func (*PatchChatAnnouncementReqBuilder) Body

func (*PatchChatAnnouncementReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PatchChatAnnouncementReqBuilder) ChatId

1.5 生成请求的builder属性方法

type PatchChatAnnouncementResp

type PatchChatAnnouncementResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*PatchChatAnnouncementResp) Success

func (resp *PatchChatAnnouncementResp) Success() bool

type PatchMessagePathReqBodyBuilder

type PatchMessagePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewPatchMessagePathReqBodyBuilder

func NewPatchMessagePathReqBodyBuilder() *PatchMessagePathReqBodyBuilder

func (*PatchMessagePathReqBodyBuilder) Build

func (*PatchMessagePathReqBodyBuilder) Content

type PatchMessageReq

type PatchMessageReq struct {
	Body *PatchMessageReqBody `body:""`
	// contains filtered or unexported fields
}

type PatchMessageReqBody

type PatchMessageReqBody struct {
	Content *string `json:"content,omitempty"`
}

type PatchMessageReqBodyBuilder

type PatchMessageReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchMessageReqBodyBuilder

func NewPatchMessageReqBodyBuilder() *PatchMessageReqBodyBuilder

生成body的New构造器

func (*PatchMessageReqBodyBuilder) Build

1.3 生成body的build方法

func (*PatchMessageReqBodyBuilder) Content

1.2 生成body的builder属性方法

type PatchMessageReqBuilder

type PatchMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewPatchMessageReqBuilder

func NewPatchMessageReqBuilder() *PatchMessageReqBuilder

生成请求的New构造器

func (*PatchMessageReqBuilder) Body

func (*PatchMessageReqBuilder) Build

func (builder *PatchMessageReqBuilder) Build() *PatchMessageReq

1.5 生成请求的builder的build方法

func (*PatchMessageReqBuilder) MessageId

func (builder *PatchMessageReqBuilder) MessageId(messageId string) *PatchMessageReqBuilder

1.5 生成请求的builder属性方法

type PatchMessageResp

type PatchMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*PatchMessageResp) Success

func (resp *PatchMessageResp) Success() bool

type PutTopNoticeChatTopNoticePathReqBodyBuilder

type PutTopNoticeChatTopNoticePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewPutTopNoticeChatTopNoticePathReqBodyBuilder

func NewPutTopNoticeChatTopNoticePathReqBodyBuilder() *PutTopNoticeChatTopNoticePathReqBodyBuilder

func (*PutTopNoticeChatTopNoticePathReqBodyBuilder) Build

func (*PutTopNoticeChatTopNoticePathReqBodyBuilder) ChatTopNotice

type PutTopNoticeChatTopNoticeReq

type PutTopNoticeChatTopNoticeReq struct {
	Body *PutTopNoticeChatTopNoticeReqBody `body:""`
	// contains filtered or unexported fields
}

type PutTopNoticeChatTopNoticeReqBody

type PutTopNoticeChatTopNoticeReqBody struct {
	ChatTopNotice []*ChatTopNotice `json:"chat_top_notice,omitempty"`
}

type PutTopNoticeChatTopNoticeReqBodyBuilder

type PutTopNoticeChatTopNoticeReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewPutTopNoticeChatTopNoticeReqBodyBuilder

func NewPutTopNoticeChatTopNoticeReqBodyBuilder() *PutTopNoticeChatTopNoticeReqBodyBuilder

生成body的New构造器

func (*PutTopNoticeChatTopNoticeReqBodyBuilder) Build

1.3 生成body的build方法

func (*PutTopNoticeChatTopNoticeReqBodyBuilder) ChatTopNotice

1.2 生成body的builder属性方法

type PutTopNoticeChatTopNoticeReqBuilder

type PutTopNoticeChatTopNoticeReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewPutTopNoticeChatTopNoticeReqBuilder

func NewPutTopNoticeChatTopNoticeReqBuilder() *PutTopNoticeChatTopNoticeReqBuilder

生成请求的New构造器

func (*PutTopNoticeChatTopNoticeReqBuilder) Body

func (*PutTopNoticeChatTopNoticeReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PutTopNoticeChatTopNoticeReqBuilder) ChatId

1.5 生成请求的builder属性方法

type PutTopNoticeChatTopNoticeResp

type PutTopNoticeChatTopNoticeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*PutTopNoticeChatTopNoticeResp) Success

func (resp *PutTopNoticeChatTopNoticeResp) Success() bool

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"`
}

type ReadUserBatchMessageReq

type ReadUserBatchMessageReq struct {
	// contains filtered or unexported fields
}

type ReadUserBatchMessageReqBuilder

type ReadUserBatchMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewReadUserBatchMessageReqBuilder

func NewReadUserBatchMessageReqBuilder() *ReadUserBatchMessageReqBuilder

生成请求的New构造器

func (*ReadUserBatchMessageReqBuilder) BatchMessageId

func (builder *ReadUserBatchMessageReqBuilder) BatchMessageId(batchMessageId string) *ReadUserBatchMessageReqBuilder

1.5 生成请求的builder属性方法

func (*ReadUserBatchMessageReqBuilder) Build

1.5 生成请求的builder的build方法

type ReadUserBatchMessageResp

type ReadUserBatchMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ReadUserBatchMessageRespData `json:"data"`
}

func (*ReadUserBatchMessageResp) Success

func (resp *ReadUserBatchMessageResp) Success() bool

type ReadUserBatchMessageRespData

type ReadUserBatchMessageRespData struct {
	ReadUser *BatchMessageReadUser `json:"read_user,omitempty"`
}

type ReadUserBuilder

type ReadUserBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewReadUserBuilder

func NewReadUserBuilder() *ReadUserBuilder

func (*ReadUserBuilder) Build

func (builder *ReadUserBuilder) Build() *ReadUser

func (*ReadUserBuilder) TenantKey

func (builder *ReadUserBuilder) TenantKey(tenantKey string) *ReadUserBuilder

func (*ReadUserBuilder) Timestamp

func (builder *ReadUserBuilder) Timestamp(timestamp string) *ReadUserBuilder

func (*ReadUserBuilder) UserId

func (builder *ReadUserBuilder) UserId(userId string) *ReadUserBuilder

func (*ReadUserBuilder) UserIdType

func (builder *ReadUserBuilder) UserIdType(userIdType string) *ReadUserBuilder

type ReadUsersMessageReq

type ReadUsersMessageReq struct {
	// contains filtered or unexported fields
}

type ReadUsersMessageReqBuilder

type ReadUsersMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewReadUsersMessageReqBuilder

func NewReadUsersMessageReqBuilder() *ReadUsersMessageReqBuilder

生成请求的New构造器

func (*ReadUsersMessageReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ReadUsersMessageReqBuilder) MessageId

func (builder *ReadUsersMessageReqBuilder) MessageId(messageId string) *ReadUsersMessageReqBuilder

1.5 生成请求的builder属性方法

func (*ReadUsersMessageReqBuilder) PageSize

func (builder *ReadUsersMessageReqBuilder) PageSize(pageSize int) *ReadUsersMessageReqBuilder

func (*ReadUsersMessageReqBuilder) PageToken

func (builder *ReadUsersMessageReqBuilder) PageToken(pageToken string) *ReadUsersMessageReqBuilder

func (*ReadUsersMessageReqBuilder) UserIdType

func (builder *ReadUsersMessageReqBuilder) UserIdType(userIdType string) *ReadUsersMessageReqBuilder

type ReadUsersMessageResp

type ReadUsersMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ReadUsersMessageRespData `json:"data"`
}

func (*ReadUsersMessageResp) Success

func (resp *ReadUsersMessageResp) Success() bool

type ReadUsersMessageRespData

type ReadUsersMessageRespData struct {
	Items     []*ReadUser `json:"items,omitempty"`
	HasMore   *bool       `json:"has_more,omitempty"`
	PageToken *string     `json:"page_token,omitempty"`
}

type ReplyMessagePathReqBodyBuilder

type ReplyMessagePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewReplyMessagePathReqBodyBuilder

func NewReplyMessagePathReqBodyBuilder() *ReplyMessagePathReqBodyBuilder

func (*ReplyMessagePathReqBodyBuilder) Build

func (*ReplyMessagePathReqBodyBuilder) Content

func (*ReplyMessagePathReqBodyBuilder) MsgType

type ReplyMessageReq

type ReplyMessageReq struct {
	Body *ReplyMessageReqBody `body:""`
	// contains filtered or unexported fields
}

type ReplyMessageReqBody

type ReplyMessageReqBody struct {
	Content *string `json:"content,omitempty"`
	MsgType *string `json:"msg_type,omitempty"`
}

type ReplyMessageReqBodyBuilder

type ReplyMessageReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewReplyMessageReqBodyBuilder

func NewReplyMessageReqBodyBuilder() *ReplyMessageReqBodyBuilder

生成body的New构造器

func (*ReplyMessageReqBodyBuilder) Build

1.3 生成body的build方法

func (*ReplyMessageReqBodyBuilder) Content

1.2 生成body的builder属性方法

func (*ReplyMessageReqBodyBuilder) MsgType

type ReplyMessageReqBuilder

type ReplyMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewReplyMessageReqBuilder

func NewReplyMessageReqBuilder() *ReplyMessageReqBuilder

生成请求的New构造器

func (*ReplyMessageReqBuilder) Body

func (*ReplyMessageReqBuilder) Build

func (builder *ReplyMessageReqBuilder) Build() *ReplyMessageReq

1.5 生成请求的builder的build方法

func (*ReplyMessageReqBuilder) MessageId

func (builder *ReplyMessageReqBuilder) MessageId(messageId string) *ReplyMessageReqBuilder

1.5 生成请求的builder属性方法

type ReplyMessageResp

type ReplyMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ReplyMessageRespData `json:"data"`
}

func (*ReplyMessageResp) Success

func (resp *ReplyMessageResp) Success() bool

type ReplyMessageRespData

type ReplyMessageRespData 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     *string      `json:"create_time,omitempty"`
	UpdateTime     *string      `json:"update_time,omitempty"`
	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 SearchChatIterator

type SearchChatIterator struct {
	// contains filtered or unexported fields
}

func (*SearchChatIterator) Next

func (iterator *SearchChatIterator) Next() (bool, *ListChat, error)

func (*SearchChatIterator) NextPageToken

func (iterator *SearchChatIterator) NextPageToken() *string

type SearchChatReq

type SearchChatReq struct {
	Limit int
	// contains filtered or unexported fields
}

type SearchChatReqBuilder

type SearchChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewSearchChatReqBuilder

func NewSearchChatReqBuilder() *SearchChatReqBuilder

生成请求的New构造器

func (*SearchChatReqBuilder) Build

func (builder *SearchChatReqBuilder) Build() *SearchChatReq

1.5 生成请求的builder的build方法

func (*SearchChatReqBuilder) Limit

func (builder *SearchChatReqBuilder) Limit(limit int) *SearchChatReqBuilder

1.5 生成请求的builder属性方法

func (*SearchChatReqBuilder) PageSize

func (builder *SearchChatReqBuilder) PageSize(pageSize int) *SearchChatReqBuilder

func (*SearchChatReqBuilder) PageToken

func (builder *SearchChatReqBuilder) PageToken(pageToken string) *SearchChatReqBuilder

func (*SearchChatReqBuilder) Query

func (builder *SearchChatReqBuilder) Query(query string) *SearchChatReqBuilder

func (*SearchChatReqBuilder) UserIdType

func (builder *SearchChatReqBuilder) UserIdType(userIdType string) *SearchChatReqBuilder

type SearchChatResp

type SearchChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *SearchChatRespData `json:"data"`
}

func (*SearchChatResp) Success

func (resp *SearchChatResp) Success() bool

type SearchChatRespData

type SearchChatRespData struct {
	Items     []*ListChat `json:"items,omitempty"`
	PageToken *string     `json:"page_token,omitempty"`
	HasMore   *bool       `json:"has_more,omitempty"`
}

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"`
}

type SenderBuilder

type SenderBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewSenderBuilder

func NewSenderBuilder() *SenderBuilder

func (*SenderBuilder) Build

func (builder *SenderBuilder) Build() *Sender

func (*SenderBuilder) Id

func (builder *SenderBuilder) Id(id string) *SenderBuilder

func (*SenderBuilder) IdType

func (builder *SenderBuilder) IdType(idType string) *SenderBuilder

func (*SenderBuilder) SenderType

func (builder *SenderBuilder) SenderType(senderType string) *SenderBuilder

func (*SenderBuilder) TenantKey

func (builder *SenderBuilder) TenantKey(tenantKey string) *SenderBuilder

type SortTabsChatTabPathReqBodyBuilder

type SortTabsChatTabPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewSortTabsChatTabPathReqBodyBuilder

func NewSortTabsChatTabPathReqBodyBuilder() *SortTabsChatTabPathReqBodyBuilder

func (*SortTabsChatTabPathReqBodyBuilder) Build

func (*SortTabsChatTabPathReqBodyBuilder) TabIds

type SortTabsChatTabReq

type SortTabsChatTabReq struct {
	Body *SortTabsChatTabReqBody `body:""`
	// contains filtered or unexported fields
}

type SortTabsChatTabReqBody

type SortTabsChatTabReqBody struct {
	TabIds []string `json:"tab_ids,omitempty"`
}

type SortTabsChatTabReqBodyBuilder

type SortTabsChatTabReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewSortTabsChatTabReqBodyBuilder

func NewSortTabsChatTabReqBodyBuilder() *SortTabsChatTabReqBodyBuilder

生成body的New构造器

func (*SortTabsChatTabReqBodyBuilder) Build

1.3 生成body的build方法

func (*SortTabsChatTabReqBodyBuilder) TabIds

1.2 生成body的builder属性方法

type SortTabsChatTabReqBuilder

type SortTabsChatTabReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewSortTabsChatTabReqBuilder

func NewSortTabsChatTabReqBuilder() *SortTabsChatTabReqBuilder

生成请求的New构造器

func (*SortTabsChatTabReqBuilder) Body

func (*SortTabsChatTabReqBuilder) Build

1.5 生成请求的builder的build方法

func (*SortTabsChatTabReqBuilder) ChatId

1.5 生成请求的builder属性方法

type SortTabsChatTabResp

type SortTabsChatTabResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *SortTabsChatTabRespData `json:"data"`
}

func (*SortTabsChatTabResp) Success

func (resp *SortTabsChatTabResp) Success() bool

type SortTabsChatTabRespData

type SortTabsChatTabRespData struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type SpecialFocus

type SpecialFocus struct {
	Id     *string `json:"id,omitempty"`
	IdType *string `json:"id_type,omitempty"`
}

type SpecialFocusBuilder

type SpecialFocusBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewSpecialFocusBuilder

func NewSpecialFocusBuilder() *SpecialFocusBuilder

func (*SpecialFocusBuilder) Build

func (builder *SpecialFocusBuilder) Build() *SpecialFocus

func (*SpecialFocusBuilder) Id

func (*SpecialFocusBuilder) IdType

func (builder *SpecialFocusBuilder) IdType(idType string) *SpecialFocusBuilder

type SpecialFocusUnread

type SpecialFocusUnread struct {
	Id          *string `json:"id,omitempty"`
	IdType      *string `json:"id_type,omitempty"`
	UnreadCount *string `json:"unread_count,omitempty"`
}

type SpecialFocusUnreadBuilder

type SpecialFocusUnreadBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewSpecialFocusUnreadBuilder

func NewSpecialFocusUnreadBuilder() *SpecialFocusUnreadBuilder

func (*SpecialFocusUnreadBuilder) Build

func (*SpecialFocusUnreadBuilder) Id

func (*SpecialFocusUnreadBuilder) IdType

func (*SpecialFocusUnreadBuilder) UnreadCount

func (builder *SpecialFocusUnreadBuilder) UnreadCount(unreadCount string) *SpecialFocusUnreadBuilder

type UpdateChatModerationPathReqBodyBuilder

type UpdateChatModerationPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewUpdateChatModerationPathReqBodyBuilder

func NewUpdateChatModerationPathReqBodyBuilder() *UpdateChatModerationPathReqBodyBuilder

func (*UpdateChatModerationPathReqBodyBuilder) Build

func (*UpdateChatModerationPathReqBodyBuilder) ModerationSetting

func (builder *UpdateChatModerationPathReqBodyBuilder) ModerationSetting(moderationSetting string) *UpdateChatModerationPathReqBodyBuilder

func (*UpdateChatModerationPathReqBodyBuilder) ModeratorAddedList

func (builder *UpdateChatModerationPathReqBodyBuilder) ModeratorAddedList(moderatorAddedList []string) *UpdateChatModerationPathReqBodyBuilder

func (*UpdateChatModerationPathReqBodyBuilder) ModeratorRemovedList

func (builder *UpdateChatModerationPathReqBodyBuilder) ModeratorRemovedList(moderatorRemovedList []string) *UpdateChatModerationPathReqBodyBuilder

type UpdateChatModerationReq

type UpdateChatModerationReq struct {
	Body *UpdateChatModerationReqBody `body:""`
	// contains filtered or unexported fields
}

type UpdateChatModerationReqBody

type UpdateChatModerationReqBody struct {
	ModerationSetting    *string  `json:"moderation_setting,omitempty"`
	ModeratorAddedList   []string `json:"moderator_added_list,omitempty"`
	ModeratorRemovedList []string `json:"moderator_removed_list,omitempty"`
}

type UpdateChatModerationReqBodyBuilder

type UpdateChatModerationReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateChatModerationReqBodyBuilder

func NewUpdateChatModerationReqBodyBuilder() *UpdateChatModerationReqBodyBuilder

生成body的New构造器

func (*UpdateChatModerationReqBodyBuilder) Build

1.3 生成body的build方法

func (*UpdateChatModerationReqBodyBuilder) ModerationSetting

func (builder *UpdateChatModerationReqBodyBuilder) ModerationSetting(moderationSetting string) *UpdateChatModerationReqBodyBuilder

1.2 生成body的builder属性方法

func (*UpdateChatModerationReqBodyBuilder) ModeratorAddedList

func (builder *UpdateChatModerationReqBodyBuilder) ModeratorAddedList(moderatorAddedList []string) *UpdateChatModerationReqBodyBuilder

func (*UpdateChatModerationReqBodyBuilder) ModeratorRemovedList

func (builder *UpdateChatModerationReqBodyBuilder) ModeratorRemovedList(moderatorRemovedList []string) *UpdateChatModerationReqBodyBuilder

type UpdateChatModerationReqBuilder

type UpdateChatModerationReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUpdateChatModerationReqBuilder

func NewUpdateChatModerationReqBuilder() *UpdateChatModerationReqBuilder

生成请求的New构造器

func (*UpdateChatModerationReqBuilder) Body

func (*UpdateChatModerationReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UpdateChatModerationReqBuilder) ChatId

1.5 生成请求的builder属性方法

func (*UpdateChatModerationReqBuilder) UserIdType

func (builder *UpdateChatModerationReqBuilder) UserIdType(userIdType string) *UpdateChatModerationReqBuilder

type UpdateChatModerationResp

type UpdateChatModerationResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*UpdateChatModerationResp) Success

func (resp *UpdateChatModerationResp) Success() bool

type UpdateChatPathReqBodyBuilder

type UpdateChatPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewUpdateChatPathReqBodyBuilder

func NewUpdateChatPathReqBodyBuilder() *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) AddMemberPermission

func (builder *UpdateChatPathReqBodyBuilder) AddMemberPermission(addMemberPermission string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) AtAllPermission

func (builder *UpdateChatPathReqBodyBuilder) AtAllPermission(atAllPermission string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) Avatar

func (*UpdateChatPathReqBodyBuilder) Build

func (*UpdateChatPathReqBodyBuilder) Description

func (builder *UpdateChatPathReqBodyBuilder) Description(description string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) EditPermission

func (builder *UpdateChatPathReqBodyBuilder) EditPermission(editPermission string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) I18nNames

func (*UpdateChatPathReqBodyBuilder) JoinMessageVisibility

func (builder *UpdateChatPathReqBodyBuilder) JoinMessageVisibility(joinMessageVisibility string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) LeaveMessageVisibility

func (builder *UpdateChatPathReqBodyBuilder) LeaveMessageVisibility(leaveMessageVisibility string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) MembershipApproval

func (builder *UpdateChatPathReqBodyBuilder) MembershipApproval(membershipApproval string) *UpdateChatPathReqBodyBuilder

func (*UpdateChatPathReqBodyBuilder) Name

func (*UpdateChatPathReqBodyBuilder) OwnerId

func (*UpdateChatPathReqBodyBuilder) ShareCardPermission

func (builder *UpdateChatPathReqBodyBuilder) ShareCardPermission(shareCardPermission string) *UpdateChatPathReqBodyBuilder

type UpdateChatReq

type UpdateChatReq struct {
	Body *UpdateChatReqBody `body:""`
	// contains filtered or unexported fields
}

type UpdateChatReqBody

type UpdateChatReqBody 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"`
	ShareCardPermission    *string    `json:"share_card_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"`
}

type UpdateChatReqBodyBuilder

type UpdateChatReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateChatReqBodyBuilder

func NewUpdateChatReqBodyBuilder() *UpdateChatReqBodyBuilder

生成body的New构造器

func (*UpdateChatReqBodyBuilder) AddMemberPermission

func (builder *UpdateChatReqBodyBuilder) AddMemberPermission(addMemberPermission string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) AtAllPermission

func (builder *UpdateChatReqBodyBuilder) AtAllPermission(atAllPermission string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) Avatar

func (builder *UpdateChatReqBodyBuilder) Avatar(avatar string) *UpdateChatReqBodyBuilder

1.2 生成body的builder属性方法

func (*UpdateChatReqBodyBuilder) Build

func (builder *UpdateChatReqBodyBuilder) Build() *UpdateChatReqBody

1.3 生成body的build方法

func (*UpdateChatReqBodyBuilder) Description

func (builder *UpdateChatReqBodyBuilder) Description(description string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) EditPermission

func (builder *UpdateChatReqBodyBuilder) EditPermission(editPermission string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) I18nNames

func (builder *UpdateChatReqBodyBuilder) I18nNames(i18nNames *I18nNames) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) JoinMessageVisibility

func (builder *UpdateChatReqBodyBuilder) JoinMessageVisibility(joinMessageVisibility string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) LeaveMessageVisibility

func (builder *UpdateChatReqBodyBuilder) LeaveMessageVisibility(leaveMessageVisibility string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) MembershipApproval

func (builder *UpdateChatReqBodyBuilder) MembershipApproval(membershipApproval string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) Name

func (*UpdateChatReqBodyBuilder) OwnerId

func (builder *UpdateChatReqBodyBuilder) OwnerId(ownerId string) *UpdateChatReqBodyBuilder

func (*UpdateChatReqBodyBuilder) ShareCardPermission

func (builder *UpdateChatReqBodyBuilder) ShareCardPermission(shareCardPermission string) *UpdateChatReqBodyBuilder

type UpdateChatReqBuilder

type UpdateChatReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUpdateChatReqBuilder

func NewUpdateChatReqBuilder() *UpdateChatReqBuilder

生成请求的New构造器

func (*UpdateChatReqBuilder) Body

func (*UpdateChatReqBuilder) Build

func (builder *UpdateChatReqBuilder) Build() *UpdateChatReq

1.5 生成请求的builder的build方法

func (*UpdateChatReqBuilder) ChatId

func (builder *UpdateChatReqBuilder) ChatId(chatId string) *UpdateChatReqBuilder

1.5 生成请求的builder属性方法

func (*UpdateChatReqBuilder) UserIdType

func (builder *UpdateChatReqBuilder) UserIdType(userIdType string) *UpdateChatReqBuilder

type UpdateChatResp

type UpdateChatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*UpdateChatResp) Success

func (resp *UpdateChatResp) Success() bool

type UpdateTabsChatTabPathReqBodyBuilder

type UpdateTabsChatTabPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

上传文件path开始

func NewUpdateTabsChatTabPathReqBodyBuilder

func NewUpdateTabsChatTabPathReqBodyBuilder() *UpdateTabsChatTabPathReqBodyBuilder

func (*UpdateTabsChatTabPathReqBodyBuilder) Build

func (*UpdateTabsChatTabPathReqBodyBuilder) ChatTabs

type UpdateTabsChatTabReq

type UpdateTabsChatTabReq struct {
	Body *UpdateTabsChatTabReqBody `body:""`
	// contains filtered or unexported fields
}

type UpdateTabsChatTabReqBody

type UpdateTabsChatTabReqBody struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type UpdateTabsChatTabReqBodyBuilder

type UpdateTabsChatTabReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateTabsChatTabReqBodyBuilder

func NewUpdateTabsChatTabReqBodyBuilder() *UpdateTabsChatTabReqBodyBuilder

生成body的New构造器

func (*UpdateTabsChatTabReqBodyBuilder) Build

1.3 生成body的build方法

func (*UpdateTabsChatTabReqBodyBuilder) ChatTabs

1.2 生成body的builder属性方法

type UpdateTabsChatTabReqBuilder

type UpdateTabsChatTabReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUpdateTabsChatTabReqBuilder

func NewUpdateTabsChatTabReqBuilder() *UpdateTabsChatTabReqBuilder

生成请求的New构造器

func (*UpdateTabsChatTabReqBuilder) Body

func (*UpdateTabsChatTabReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UpdateTabsChatTabReqBuilder) ChatId

1.5 生成请求的builder属性方法

type UpdateTabsChatTabResp

type UpdateTabsChatTabResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateTabsChatTabRespData `json:"data"`
}

func (*UpdateTabsChatTabResp) Success

func (resp *UpdateTabsChatTabResp) Success() bool

type UpdateTabsChatTabRespData

type UpdateTabsChatTabRespData struct {
	ChatTabs []*ChatTab `json:"chat_tabs,omitempty"`
}

type UrgentAppMessageReq

type UrgentAppMessageReq struct {
	UrgentReceivers *UrgentReceivers `body:""`
	// contains filtered or unexported fields
}

type UrgentAppMessageReqBuilder

type UrgentAppMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUrgentAppMessageReqBuilder

func NewUrgentAppMessageReqBuilder() *UrgentAppMessageReqBuilder

生成请求的New构造器

func (*UrgentAppMessageReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UrgentAppMessageReqBuilder) MessageId

func (builder *UrgentAppMessageReqBuilder) MessageId(messageId string) *UrgentAppMessageReqBuilder

1.5 生成请求的builder属性方法

func (*UrgentAppMessageReqBuilder) UrgentReceivers

func (builder *UrgentAppMessageReqBuilder) UrgentReceivers(urgentReceivers *UrgentReceivers) *UrgentAppMessageReqBuilder

func (*UrgentAppMessageReqBuilder) UserIdType

func (builder *UrgentAppMessageReqBuilder) UserIdType(userIdType string) *UrgentAppMessageReqBuilder

type UrgentAppMessageResp

type UrgentAppMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UrgentAppMessageRespData `json:"data"`
}

func (*UrgentAppMessageResp) Success

func (resp *UrgentAppMessageResp) Success() bool

type UrgentAppMessageRespData

type UrgentAppMessageRespData struct {
	InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}

type UrgentPhoneMessageReq

type UrgentPhoneMessageReq struct {
	UrgentReceivers *UrgentReceivers `body:""`
	// contains filtered or unexported fields
}

type UrgentPhoneMessageReqBuilder

type UrgentPhoneMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUrgentPhoneMessageReqBuilder

func NewUrgentPhoneMessageReqBuilder() *UrgentPhoneMessageReqBuilder

生成请求的New构造器

func (*UrgentPhoneMessageReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UrgentPhoneMessageReqBuilder) MessageId

func (builder *UrgentPhoneMessageReqBuilder) MessageId(messageId string) *UrgentPhoneMessageReqBuilder

1.5 生成请求的builder属性方法

func (*UrgentPhoneMessageReqBuilder) UrgentReceivers

func (builder *UrgentPhoneMessageReqBuilder) UrgentReceivers(urgentReceivers *UrgentReceivers) *UrgentPhoneMessageReqBuilder

func (*UrgentPhoneMessageReqBuilder) UserIdType

func (builder *UrgentPhoneMessageReqBuilder) UserIdType(userIdType string) *UrgentPhoneMessageReqBuilder

type UrgentPhoneMessageResp

type UrgentPhoneMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UrgentPhoneMessageRespData `json:"data"`
}

func (*UrgentPhoneMessageResp) Success

func (resp *UrgentPhoneMessageResp) Success() bool

type UrgentPhoneMessageRespData

type UrgentPhoneMessageRespData struct {
	InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}

type UrgentReceivers

type UrgentReceivers struct {
	UserIdList []string `json:"user_id_list,omitempty"`
}

type UrgentReceiversBuilder

type UrgentReceiversBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewUrgentReceiversBuilder

func NewUrgentReceiversBuilder() *UrgentReceiversBuilder

func (*UrgentReceiversBuilder) Build

func (builder *UrgentReceiversBuilder) Build() *UrgentReceivers

func (*UrgentReceiversBuilder) UserIdList

func (builder *UrgentReceiversBuilder) UserIdList(userIdList []string) *UrgentReceiversBuilder

type UrgentSmsMessageReq

type UrgentSmsMessageReq struct {
	UrgentReceivers *UrgentReceivers `body:""`
	// contains filtered or unexported fields
}

type UrgentSmsMessageReqBuilder

type UrgentSmsMessageReqBuilder struct {
	// contains filtered or unexported fields
}

1.4 生成请求的builder结构体

func NewUrgentSmsMessageReqBuilder

func NewUrgentSmsMessageReqBuilder() *UrgentSmsMessageReqBuilder

生成请求的New构造器

func (*UrgentSmsMessageReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UrgentSmsMessageReqBuilder) MessageId

func (builder *UrgentSmsMessageReqBuilder) MessageId(messageId string) *UrgentSmsMessageReqBuilder

1.5 生成请求的builder属性方法

func (*UrgentSmsMessageReqBuilder) UrgentReceivers

func (builder *UrgentSmsMessageReqBuilder) UrgentReceivers(urgentReceivers *UrgentReceivers) *UrgentSmsMessageReqBuilder

func (*UrgentSmsMessageReqBuilder) UserIdType

func (builder *UrgentSmsMessageReqBuilder) UserIdType(userIdType string) *UrgentSmsMessageReqBuilder

type UrgentSmsMessageResp

type UrgentSmsMessageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UrgentSmsMessageRespData `json:"data"`
}

func (*UrgentSmsMessageResp) Success

func (resp *UrgentSmsMessageResp) Success() bool

type UrgentSmsMessageRespData

type UrgentSmsMessageRespData struct {
	InvalidUserIdList []string `json:"invalid_user_id_list,omitempty"`
}

type UserId

type UserId struct {
	UserId  *string `json:"user_id,omitempty"`
	OpenId  *string `json:"open_id,omitempty"`
	UnionId *string `json:"union_id,omitempty"`
}

type UserIdBuilder

type UserIdBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewUserIdBuilder

func NewUserIdBuilder() *UserIdBuilder

func (*UserIdBuilder) Build

func (builder *UserIdBuilder) Build() *UserId

func (*UserIdBuilder) OpenId

func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder

func (*UserIdBuilder) UnionId

func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder

func (*UserIdBuilder) UserId

func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL