larkim

package
v3.3.7 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

View Source
const (
	UserIdTypeOpenId  = "open_id"  // open_id
	UserIdTypeUnionId = "union_id" // union_id
	UserIdTypeUserId  = "user_id"  // user_id
)
View Source
const (
	UserIdTypeDeleteAppFeedCardBatchOpenId  = "open_id"  // 以open_id来识别用户
	UserIdTypeDeleteAppFeedCardBatchUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeDeleteAppFeedCardBatchUnionId = "union_id" // 以union_id来识别用户
)
View Source
const (
	UserIdTypeUpdateAppFeedCardBatchOpenId  = "open_id"  // 以open_id来识别用户
	UserIdTypeUpdateAppFeedCardBatchUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUpdateAppFeedCardBatchUnionId = "union_id" // 以union_id来识别用户
)
View Source
const (
	UserIdTypeUpdateChatButtonOpenId  = "open_id"  // open_id
	UserIdTypeUpdateChatButtonUnionId = "union_id" // union_id
	UserIdTypeUpdateChatButtonUserId  = "user_id"  // user_id
)
View Source
const (
	UserIdTypeBotTimeSentiveFeedCardOpenId  = "open_id"  // 以open_id来识别用户
	UserIdTypeBotTimeSentiveFeedCardUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBotTimeSentiveFeedCardUnionId = "union_id" // 以union_id来识别用户
)
View Source
const (
	UserIdTypePatchFeedCardOpenId  = "open_id"  // 以open_id来识别用户
	UserIdTypePatchFeedCardUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypePatchFeedCardUnionId = "union_id" // 以union_id来识别用户
)
View Source
const (
	TagBizTypeChat = "chat" // chat类型
)
View Source
const (
	TagBizTypeGetBizEntityTagRelationChat = "chat" // chat类型
)
View Source
const (
	TagBizTypeUpdateBizEntityTagRelationChat = "chat" // chat类型
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppFeedNotify

type AppFeedNotify struct {
	CloseNotify     *bool   `json:"close_notify,omitempty"`      // 是否关闭通知
	CustomSoundText *string `json:"custom_sound_text,omitempty"` // 自定义语音播报文本内容
	WithCustomSound *bool   `json:"with_custom_sound,omitempty"` // 是否播报自定义语音
}

type AppFeedNotifyBuilder

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

func NewAppFeedNotifyBuilder

func NewAppFeedNotifyBuilder() *AppFeedNotifyBuilder

func (*AppFeedNotifyBuilder) Build

func (builder *AppFeedNotifyBuilder) Build() *AppFeedNotify

func (*AppFeedNotifyBuilder) CloseNotify

func (builder *AppFeedNotifyBuilder) CloseNotify(closeNotify bool) *AppFeedNotifyBuilder

是否关闭通知

示例值:true

func (*AppFeedNotifyBuilder) CustomSoundText

func (builder *AppFeedNotifyBuilder) CustomSoundText(customSoundText string) *AppFeedNotifyBuilder

自定义语音播报文本内容

示例值:您有新的订单

func (*AppFeedNotifyBuilder) WithCustomSound

func (builder *AppFeedNotifyBuilder) WithCustomSound(withCustomSound bool) *AppFeedNotifyBuilder

是否播报自定义语音

示例值:true

type BatchUpdateUrlPreviewPathReqBodyBuilder

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

func NewBatchUpdateUrlPreviewPathReqBodyBuilder

func NewBatchUpdateUrlPreviewPathReqBodyBuilder() *BatchUpdateUrlPreviewPathReqBodyBuilder

func (*BatchUpdateUrlPreviewPathReqBodyBuilder) Build

func (*BatchUpdateUrlPreviewPathReqBodyBuilder) OpenIds

需要更新URL预览的用户open_id。若不传,则默认更新URL所在会话成员;若用户不在URL所在会话,则无法更新该用户

示例值:

func (*BatchUpdateUrlPreviewPathReqBodyBuilder) PreviewTokens

URL预览的token列表

示例值:

type BatchUpdateUrlPreviewReq

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

type BatchUpdateUrlPreviewReqBody

type BatchUpdateUrlPreviewReqBody struct {
	PreviewTokens []string `json:"preview_tokens,omitempty"` // URL预览的token列表
	OpenIds       []string `json:"open_ids,omitempty"`       // 需要更新URL预览的用户open_id。若不传,则默认更新URL所在会话成员;若用户不在URL所在会话,则无法更新该用户
}

type BatchUpdateUrlPreviewReqBodyBuilder

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

func NewBatchUpdateUrlPreviewReqBodyBuilder

func NewBatchUpdateUrlPreviewReqBodyBuilder() *BatchUpdateUrlPreviewReqBodyBuilder

func (*BatchUpdateUrlPreviewReqBodyBuilder) Build

func (*BatchUpdateUrlPreviewReqBodyBuilder) OpenIds

需要更新URL预览的用户open_id。若不传,则默认更新URL所在会话成员;若用户不在URL所在会话,则无法更新该用户

示例值:

func (*BatchUpdateUrlPreviewReqBodyBuilder) PreviewTokens

func (builder *BatchUpdateUrlPreviewReqBodyBuilder) PreviewTokens(previewTokens []string) *BatchUpdateUrlPreviewReqBodyBuilder

URL预览的token列表

示例值:

type BatchUpdateUrlPreviewReqBuilder

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

func NewBatchUpdateUrlPreviewReqBuilder

func NewBatchUpdateUrlPreviewReqBuilder() *BatchUpdateUrlPreviewReqBuilder

func (*BatchUpdateUrlPreviewReqBuilder) Body

func (*BatchUpdateUrlPreviewReqBuilder) Build

type BatchUpdateUrlPreviewResp

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

func (*BatchUpdateUrlPreviewResp) Success

func (resp *BatchUpdateUrlPreviewResp) Success() bool

type BotTimeSentiveFeedCardPathReqBodyBuilder added in v3.3.3

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

func NewBotTimeSentiveFeedCardPathReqBodyBuilder added in v3.3.3

func NewBotTimeSentiveFeedCardPathReqBodyBuilder() *BotTimeSentiveFeedCardPathReqBodyBuilder

func (*BotTimeSentiveFeedCardPathReqBodyBuilder) Build added in v3.3.3

func (*BotTimeSentiveFeedCardPathReqBodyBuilder) TimeSensitive added in v3.3.3

临时置顶状态,true-打开,false-关闭

示例值:true

func (*BotTimeSentiveFeedCardPathReqBodyBuilder) UserIds added in v3.3.3

用户id 列表

示例值:

type BotTimeSentiveFeedCardReq added in v3.3.3

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

type BotTimeSentiveFeedCardReqBody added in v3.3.3

type BotTimeSentiveFeedCardReqBody struct {
	TimeSensitive *bool    `json:"time_sensitive,omitempty"` // 临时置顶状态,true-打开,false-关闭
	UserIds       []string `json:"user_ids,omitempty"`       // 用户id 列表
}

type BotTimeSentiveFeedCardReqBodyBuilder added in v3.3.3

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

func NewBotTimeSentiveFeedCardReqBodyBuilder added in v3.3.3

func NewBotTimeSentiveFeedCardReqBodyBuilder() *BotTimeSentiveFeedCardReqBodyBuilder

func (*BotTimeSentiveFeedCardReqBodyBuilder) Build added in v3.3.3

func (*BotTimeSentiveFeedCardReqBodyBuilder) TimeSensitive added in v3.3.3

临时置顶状态,true-打开,false-关闭

示例值:true

func (*BotTimeSentiveFeedCardReqBodyBuilder) UserIds added in v3.3.3

用户id 列表

示例值:

type BotTimeSentiveFeedCardReqBuilder added in v3.3.3

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

func NewBotTimeSentiveFeedCardReqBuilder added in v3.3.3

func NewBotTimeSentiveFeedCardReqBuilder() *BotTimeSentiveFeedCardReqBuilder

func (*BotTimeSentiveFeedCardReqBuilder) Body added in v3.3.3

func (*BotTimeSentiveFeedCardReqBuilder) Build added in v3.3.3

func (*BotTimeSentiveFeedCardReqBuilder) UserIdType added in v3.3.3

此次调用中使用的用户ID的类型 可选值有: - open_id: 以open_id来识别用户 - user_id: 以user_id来识别用户 - union_id: 以union_id来识别用户

示例值:open_id

type BotTimeSentiveFeedCardResp added in v3.3.3

type BotTimeSentiveFeedCardResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BotTimeSentiveFeedCardRespData `json:"data"` // 业务数据
}

func (*BotTimeSentiveFeedCardResp) Success added in v3.3.3

func (resp *BotTimeSentiveFeedCardResp) Success() bool

type BotTimeSentiveFeedCardRespData added in v3.3.3

type BotTimeSentiveFeedCardRespData struct {
	FailedUserReasons []*FailedReason `json:"failed_user_reasons,omitempty"` // 失败原因
}

type ChatCommonHeader

type ChatCommonHeader struct {
	ChatId *string `json:"chat_id,omitempty"` // 群ID

}

type ChatCommonHeaderBuilder

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

func NewChatCommonHeaderBuilder

func NewChatCommonHeaderBuilder() *ChatCommonHeaderBuilder

func (*ChatCommonHeaderBuilder) Build

func (builder *ChatCommonHeaderBuilder) Build() *ChatCommonHeader

func (*ChatCommonHeaderBuilder) ChatId

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

群ID

示例值:oc_a0553eda9014c201e6969b478895c230

type ChatPin

type ChatPin struct {
	ChatPinId           *string     `json:"chat_pin_id,omitempty"`            // 置顶ID
	ChatId              *string     `json:"chat_id,omitempty"`                // 群ID
	ChatPinType         *string     `json:"chat_pin_type,omitempty"`          // 置顶类型
	CreateTime          *string     `json:"create_time,omitempty"`            // 置顶创建时间,毫秒级别
	ChatterId           *string     `json:"chatter_id,omitempty"`             // 创建置顶的操作者ID
	IsFixed             *bool       `json:"is_fixed,omitempty"`               // 该置顶是否固定在置顶列表的最前面
	OperateFixChatterId *string     `json:"operate_fix_chatter_id,omitempty"` // 固定置顶到置顶列表前面的操作者ID
	MessagePinData      *MessagePin `json:"message_pin_data,omitempty"`       // 消息置顶数据
	UrlPinData          *UrlPin     `json:"url_pin_data,omitempty"`           // url类型置顶数据
}

type ChatPinBuilder

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

func NewChatPinBuilder

func NewChatPinBuilder() *ChatPinBuilder

func (*ChatPinBuilder) Build

func (builder *ChatPinBuilder) Build() *ChatPin

func (*ChatPinBuilder) ChatId

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

群ID

示例值:oc_a0553eda9014c201e6969b478895c230

func (*ChatPinBuilder) ChatPinId

func (builder *ChatPinBuilder) ChatPinId(chatPinId string) *ChatPinBuilder

置顶ID

示例值:7262656565168242692

func (*ChatPinBuilder) ChatPinType

func (builder *ChatPinBuilder) ChatPinType(chatPinType string) *ChatPinBuilder

置顶类型

示例值:message_pin

func (*ChatPinBuilder) ChatterId

func (builder *ChatPinBuilder) ChatterId(chatterId string) *ChatPinBuilder

创建置顶的操作者ID

示例值:ou_7d8a6e6df7621556ce0d21922b676706ccs

func (*ChatPinBuilder) CreateTime

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

置顶创建时间,毫秒级别

示例值:1694519103000

func (*ChatPinBuilder) IsFixed

func (builder *ChatPinBuilder) IsFixed(isFixed bool) *ChatPinBuilder

该置顶是否固定在置顶列表的最前面

示例值:false

func (*ChatPinBuilder) MessagePinData

func (builder *ChatPinBuilder) MessagePinData(messagePinData *MessagePin) *ChatPinBuilder

消息置顶数据

示例值:

func (*ChatPinBuilder) OperateFixChatterId

func (builder *ChatPinBuilder) OperateFixChatterId(operateFixChatterId string) *ChatPinBuilder

固定置顶到置顶列表前面的操作者ID

示例值:ou_7d8a6e6df7621556ce0d21922b676706ccs

func (*ChatPinBuilder) UrlPinData

func (builder *ChatPinBuilder) UrlPinData(urlPinData *UrlPin) *ChatPinBuilder

url类型置顶数据

示例值:

type ChatPinIcon

type ChatPinIcon struct {
	ChatPinIconType *string `json:"chat_pin_icon_type,omitempty"` // 图标类型
	IconKey         *string `json:"icon_key,omitempty"`           // 图标key
}

type ChatPinIconBuilder

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

func NewChatPinIconBuilder

func NewChatPinIconBuilder() *ChatPinIconBuilder

func (*ChatPinIconBuilder) Build

func (builder *ChatPinIconBuilder) Build() *ChatPinIcon

func (*ChatPinIconBuilder) ChatPinIconType

func (builder *ChatPinIconBuilder) ChatPinIconType(chatPinIconType string) *ChatPinIconBuilder

图标类型

示例值:0

func (*ChatPinIconBuilder) IconKey

func (builder *ChatPinIconBuilder) IconKey(iconKey string) *ChatPinIconBuilder

图标key

示例值:img_v3_0237_9cba8614-abab-47c3-bb0e-318564d9d7ej

type CreateAppFeedCardPathReqBodyBuilder

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

func NewCreateAppFeedCardPathReqBodyBuilder

func NewCreateAppFeedCardPathReqBodyBuilder() *CreateAppFeedCardPathReqBodyBuilder

func (*CreateAppFeedCardPathReqBodyBuilder) AppFeedCard

应用消息卡片

示例值:

func (*CreateAppFeedCardPathReqBodyBuilder) Build

func (*CreateAppFeedCardPathReqBodyBuilder) UserIds

用户 ID

示例值:

type CreateAppFeedCardReq

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

type CreateAppFeedCardReqBody

type CreateAppFeedCardReqBody struct {
	AppFeedCard *OpenAppFeedCard `json:"app_feed_card,omitempty"` // 应用消息卡片
	UserIds     []string         `json:"user_ids,omitempty"`      // 用户 ID
}

type CreateAppFeedCardReqBodyBuilder

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

func NewCreateAppFeedCardReqBodyBuilder

func NewCreateAppFeedCardReqBodyBuilder() *CreateAppFeedCardReqBodyBuilder

func (*CreateAppFeedCardReqBodyBuilder) AppFeedCard

应用消息卡片

示例值:

func (*CreateAppFeedCardReqBodyBuilder) Build

func (*CreateAppFeedCardReqBodyBuilder) UserIds

用户 ID

示例值:

type CreateAppFeedCardReqBuilder

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

func NewCreateAppFeedCardReqBuilder

func NewCreateAppFeedCardReqBuilder() *CreateAppFeedCardReqBuilder

func (*CreateAppFeedCardReqBuilder) Body

func (*CreateAppFeedCardReqBuilder) Build

func (*CreateAppFeedCardReqBuilder) UserIdType

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

用户 ID 类型

示例值:open_id

type CreateAppFeedCardResp

type CreateAppFeedCardResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateAppFeedCardRespData `json:"data"` // 业务数据
}

func (*CreateAppFeedCardResp) Success

func (resp *CreateAppFeedCardResp) Success() bool

type CreateAppFeedCardRespData

type CreateAppFeedCardRespData struct {
	FailedCards []*OpenFailedUserAppFeedCardItem `json:"failed_cards,omitempty"` // 失败的卡片
	BizId       *string                          `json:"biz_id,omitempty"`       // 卡片业务 ID
}

type CreateBizEntityTagRelationPathReqBodyBuilder

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

func NewCreateBizEntityTagRelationPathReqBodyBuilder

func NewCreateBizEntityTagRelationPathReqBodyBuilder() *CreateBizEntityTagRelationPathReqBodyBuilder

func (*CreateBizEntityTagRelationPathReqBodyBuilder) BizEntityId

业务实体id

示例值:71616xxxx

func (*CreateBizEntityTagRelationPathReqBodyBuilder) Build

func (*CreateBizEntityTagRelationPathReqBodyBuilder) TagBizType

业务类型

示例值:chat

func (*CreateBizEntityTagRelationPathReqBodyBuilder) TagIds

标签id

示例值:

type CreateBizEntityTagRelationReq

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

type CreateBizEntityTagRelationReqBody

type CreateBizEntityTagRelationReqBody struct {
	TagBizType  *string  `json:"tag_biz_type,omitempty"`  // 业务类型
	BizEntityId *string  `json:"biz_entity_id,omitempty"` // 业务实体id
	TagIds      []string `json:"tag_ids,omitempty"`       // 标签id

}

type CreateBizEntityTagRelationReqBodyBuilder

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

func NewCreateBizEntityTagRelationReqBodyBuilder

func NewCreateBizEntityTagRelationReqBodyBuilder() *CreateBizEntityTagRelationReqBodyBuilder

func (*CreateBizEntityTagRelationReqBodyBuilder) BizEntityId

业务实体id

示例值:71616xxxx

func (*CreateBizEntityTagRelationReqBodyBuilder) Build

func (*CreateBizEntityTagRelationReqBodyBuilder) TagBizType

业务类型

示例值:chat

func (*CreateBizEntityTagRelationReqBodyBuilder) TagIds

标签id

示例值:

type CreateBizEntityTagRelationReqBuilder

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

func NewCreateBizEntityTagRelationReqBuilder

func NewCreateBizEntityTagRelationReqBuilder() *CreateBizEntityTagRelationReqBuilder

func (*CreateBizEntityTagRelationReqBuilder) Body

func (*CreateBizEntityTagRelationReqBuilder) Build

type CreateBizEntityTagRelationResp

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

func (*CreateBizEntityTagRelationResp) Success

func (resp *CreateBizEntityTagRelationResp) Success() bool

type CreateTag

type CreateTag struct {
	TagType   *string        `json:"tag_type,omitempty"`   // 标签类型
	Name      *string        `json:"name,omitempty"`       // 标签默认名称
	I18nNames []*TagI18nName `json:"i18n_names,omitempty"` // i18n标签名称集合
}

type CreateTagBuilder

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

func NewCreateTagBuilder

func NewCreateTagBuilder() *CreateTagBuilder

func (*CreateTagBuilder) Build

func (builder *CreateTagBuilder) Build() *CreateTag

func (*CreateTagBuilder) I18nNames

func (builder *CreateTagBuilder) I18nNames(i18nNames []*TagI18nName) *CreateTagBuilder

i18n标签名称集合

示例值:

func (*CreateTagBuilder) Name

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

标签默认名称

示例值:default name

func (*CreateTagBuilder) TagType

func (builder *CreateTagBuilder) TagType(tagType string) *CreateTagBuilder

标签类型

示例值:tenant

type CreateTagFailReason

type CreateTagFailReason struct {
	DuplicateId *string `json:"duplicate_id,omitempty"` // 名称重复的标签id
}

type CreateTagFailReasonBuilder

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

func NewCreateTagFailReasonBuilder

func NewCreateTagFailReasonBuilder() *CreateTagFailReasonBuilder

func (*CreateTagFailReasonBuilder) Build

func (*CreateTagFailReasonBuilder) DuplicateId

func (builder *CreateTagFailReasonBuilder) DuplicateId(duplicateId string) *CreateTagFailReasonBuilder

名称重复的标签id

示例值:716168xxxxx

type CreateTagPathReqBodyBuilder

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

func NewCreateTagPathReqBodyBuilder

func NewCreateTagPathReqBodyBuilder() *CreateTagPathReqBodyBuilder

func (*CreateTagPathReqBodyBuilder) Build

func (builder *CreateTagPathReqBodyBuilder) Build() (*CreateTagReqBody, error)

func (*CreateTagPathReqBodyBuilder) CreateTag

func (builder *CreateTagPathReqBodyBuilder) CreateTag(createTag *CreateTag) *CreateTagPathReqBodyBuilder

创建标签

示例值:

type CreateTagReq

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

type CreateTagReqBody

type CreateTagReqBody struct {
	CreateTag *CreateTag `json:"create_tag,omitempty"` // 创建标签

}

type CreateTagReqBodyBuilder

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

func NewCreateTagReqBodyBuilder

func NewCreateTagReqBodyBuilder() *CreateTagReqBodyBuilder

func (*CreateTagReqBodyBuilder) Build

func (builder *CreateTagReqBodyBuilder) Build() *CreateTagReqBody

func (*CreateTagReqBodyBuilder) CreateTag

func (builder *CreateTagReqBodyBuilder) CreateTag(createTag *CreateTag) *CreateTagReqBodyBuilder

创建标签

示例值:

type CreateTagReqBuilder

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

func NewCreateTagReqBuilder

func NewCreateTagReqBuilder() *CreateTagReqBuilder

func (*CreateTagReqBuilder) Body

func (*CreateTagReqBuilder) Build

func (builder *CreateTagReqBuilder) Build() *CreateTagReq

type CreateTagResp

type CreateTagResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateTagRespData `json:"data"` // 业务数据
}

func (*CreateTagResp) Success

func (resp *CreateTagResp) Success() bool

type CreateTagRespData

type CreateTagRespData struct {
	Id                  *string              `json:"id,omitempty"`                     // 创建的tagid
	CreateTagFailReason *CreateTagFailReason `json:"create_tag_fail_reason,omitempty"` // 创建失败原因
}

type DeleteAppFeedCardBatchPathReqBodyBuilder

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

func NewDeleteAppFeedCardBatchPathReqBodyBuilder

func NewDeleteAppFeedCardBatchPathReqBodyBuilder() *DeleteAppFeedCardBatchPathReqBodyBuilder

func (*DeleteAppFeedCardBatchPathReqBodyBuilder) Build

func (*DeleteAppFeedCardBatchPathReqBodyBuilder) FeedCards

应用消息卡片

示例值:

type DeleteAppFeedCardBatchReq

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

type DeleteAppFeedCardBatchReqBody

type DeleteAppFeedCardBatchReqBody struct {
	FeedCards []*UserOpenAppFeedCardDeleter `json:"feed_cards,omitempty"` // 应用消息卡片
}

type DeleteAppFeedCardBatchReqBodyBuilder

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

func NewDeleteAppFeedCardBatchReqBodyBuilder

func NewDeleteAppFeedCardBatchReqBodyBuilder() *DeleteAppFeedCardBatchReqBodyBuilder

func (*DeleteAppFeedCardBatchReqBodyBuilder) Build

func (*DeleteAppFeedCardBatchReqBodyBuilder) FeedCards

应用消息卡片

示例值:

type DeleteAppFeedCardBatchReqBuilder

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

func NewDeleteAppFeedCardBatchReqBuilder

func NewDeleteAppFeedCardBatchReqBuilder() *DeleteAppFeedCardBatchReqBuilder

func (*DeleteAppFeedCardBatchReqBuilder) Body

func (*DeleteAppFeedCardBatchReqBuilder) Build

func (*DeleteAppFeedCardBatchReqBuilder) UserIdType

此次调用中使用的用户ID的类型 可选值有: - open_id: 以open_id来识别用户 - user_id: 以user_id来识别用户 - union_id: 以union_id来识别用户

示例值:open_id

type DeleteAppFeedCardBatchResp

type DeleteAppFeedCardBatchResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *DeleteAppFeedCardBatchRespData `json:"data"` // 业务数据
}

func (*DeleteAppFeedCardBatchResp) Success

func (resp *DeleteAppFeedCardBatchResp) Success() bool

type DeleteAppFeedCardBatchRespData

type DeleteAppFeedCardBatchRespData struct {
	FailedCards []*OpenFailedUserAppFeedCardItem `json:"failed_cards,omitempty"` // 失败的卡片
}

type DepartmentId

type DepartmentId struct {
	DepartmentId     *string `json:"department_id,omitempty"`      //
	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder

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

func NewDepartmentIdBuilder

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId

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

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type FailedReason

type FailedReason struct {
	ErrorCode    *int    `json:"error_code,omitempty"`    // 错误码
	ErrorMessage *string `json:"error_message,omitempty"` // 错误信息
	UserId       *string `json:"user_id,omitempty"`       // 用户id
}

type FailedReasonBuilder

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

func NewFailedReasonBuilder

func NewFailedReasonBuilder() *FailedReasonBuilder

func (*FailedReasonBuilder) Build

func (builder *FailedReasonBuilder) Build() *FailedReason

func (*FailedReasonBuilder) ErrorCode

func (builder *FailedReasonBuilder) ErrorCode(errorCode int) *FailedReasonBuilder

错误码

示例值:0

func (*FailedReasonBuilder) ErrorMessage

func (builder *FailedReasonBuilder) ErrorMessage(errorMessage string) *FailedReasonBuilder

错误信息

示例值:The user is not in the chat

func (*FailedReasonBuilder) UserId

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

用户id

示例值:ou_679eaeb583654bff73fefcc6e6371301

type FeedCardDisplayRuleFailedItem

type FeedCardDisplayRuleFailedItem struct {
	Id           *string `json:"id,omitempty"`            // ..
	ErrorCode    *int    `json:"error_code,omitempty"`    // ..
	ErrorMessage *string `json:"error_message,omitempty"` // ..
}

type FeedCardDisplayRuleFailedItemBuilder

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

func NewFeedCardDisplayRuleFailedItemBuilder

func NewFeedCardDisplayRuleFailedItemBuilder() *FeedCardDisplayRuleFailedItemBuilder

func (*FeedCardDisplayRuleFailedItemBuilder) Build

func (*FeedCardDisplayRuleFailedItemBuilder) ErrorCode

..

示例值:0

func (*FeedCardDisplayRuleFailedItemBuilder) ErrorMessage

..

示例值:..

func (*FeedCardDisplayRuleFailedItemBuilder) Id

..

示例值:..

type FeedCardDisplayRuleUpdater

type FeedCardDisplayRuleUpdater struct {
	Id                        *string              `json:"id,omitempty"`                            // id
	DisplayFeedRule           *OpenDisplayFeedRule `json:"display_feed_rule,omitempty"`             // 消息展示规则
	DisplayFeedRuleUpdateType *string              `json:"display_feed_rule_update_type,omitempty"` // 消息展示规则更新类型
}

type FeedCardDisplayRuleUpdaterBuilder

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

func NewFeedCardDisplayRuleUpdaterBuilder

func NewFeedCardDisplayRuleUpdaterBuilder() *FeedCardDisplayRuleUpdaterBuilder

func (*FeedCardDisplayRuleUpdaterBuilder) Build

func (*FeedCardDisplayRuleUpdaterBuilder) DisplayFeedRule

消息展示规则

示例值:

func (*FeedCardDisplayRuleUpdaterBuilder) DisplayFeedRuleUpdateType

func (builder *FeedCardDisplayRuleUpdaterBuilder) DisplayFeedRuleUpdateType(displayFeedRuleUpdateType string) *FeedCardDisplayRuleUpdaterBuilder

消息展示规则更新类型

示例值:filter

func (*FeedCardDisplayRuleUpdaterBuilder) Id

id

示例值:6881602603248009218

type FeedCardSettingFailedItem

type FeedCardSettingFailedItem struct {
	FeedCardId   *string `json:"feed_card_id,omitempty"`  // 消息流卡片 ID
	ErrorCode    *int    `json:"error_code,omitempty"`    // 错误码
	ErrorMessage *string `json:"error_message,omitempty"` // 错误信息
}

type FeedCardSettingFailedItemBuilder

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

func NewFeedCardSettingFailedItemBuilder

func NewFeedCardSettingFailedItemBuilder() *FeedCardSettingFailedItemBuilder

func (*FeedCardSettingFailedItemBuilder) Build

func (*FeedCardSettingFailedItemBuilder) ErrorCode

错误码

示例值:0

func (*FeedCardSettingFailedItemBuilder) ErrorMessage

func (builder *FeedCardSettingFailedItemBuilder) ErrorMessage(errorMessage string) *FeedCardSettingFailedItemBuilder

错误信息

示例值:test error message

func (*FeedCardSettingFailedItemBuilder) FeedCardId

消息流卡片 ID

示例值:oc_785fae31552ae88681bc69b4a1550289

type FeedCardSettingUpdater

type FeedCardSettingUpdater struct {
	FeedCardId            *string `json:"feed_card_id,omitempty"`             // 消息流卡片 ID
	ReadTimestamp         *string `json:"read_timestamp,omitempty"`           // 标记已读的时间戳
	MuteWithSystemMessage *bool   `json:"mute_with_system_message,omitempty"` // 免打扰操作是否发送系统消息
}

type FeedCardSettingUpdaterBuilder

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

func NewFeedCardSettingUpdaterBuilder

func NewFeedCardSettingUpdaterBuilder() *FeedCardSettingUpdaterBuilder

func (*FeedCardSettingUpdaterBuilder) Build

func (*FeedCardSettingUpdaterBuilder) FeedCardId

func (builder *FeedCardSettingUpdaterBuilder) FeedCardId(feedCardId string) *FeedCardSettingUpdaterBuilder

消息流卡片 ID

示例值:oc_785fae31552ae88681bc69b4a1550289

func (*FeedCardSettingUpdaterBuilder) MuteWithSystemMessage

func (builder *FeedCardSettingUpdaterBuilder) MuteWithSystemMessage(muteWithSystemMessage bool) *FeedCardSettingUpdaterBuilder

免打扰操作是否发送系统消息

示例值:false

func (*FeedCardSettingUpdaterBuilder) ReadTimestamp

func (builder *FeedCardSettingUpdaterBuilder) ReadTimestamp(readTimestamp string) *FeedCardSettingUpdaterBuilder

标记已读的时间戳

示例值:1701246710

type FeedGroup

type FeedGroup struct {
	GroupId *string         `json:"group_id,omitempty"` // 标签 ID
	Type    *string         `json:"type,omitempty"`     // 标签类型
	Name    *string         `json:"name,omitempty"`     // 标签名
	Rules   *FeedGroupRules `json:"rules,omitempty"`    // 标签规则
}

type FeedGroupBuilder

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

func NewFeedGroupBuilder

func NewFeedGroupBuilder() *FeedGroupBuilder

func (*FeedGroupBuilder) Build

func (builder *FeedGroupBuilder) Build() *FeedGroup

func (*FeedGroupBuilder) GroupId

func (builder *FeedGroupBuilder) GroupId(groupId string) *FeedGroupBuilder

标签 ID

示例值:7091086414609645828

func (*FeedGroupBuilder) Name

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

标签名

示例值:test

func (*FeedGroupBuilder) Rules

func (builder *FeedGroupBuilder) Rules(rules *FeedGroupRules) *FeedGroupBuilder

标签规则

示例值:

func (*FeedGroupBuilder) Type

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

标签类型

示例值:normal

type FeedGroupCreator

type FeedGroupCreator struct {
	Type  *string         `json:"type,omitempty"`  // 标签类型
	Name  *string         `json:"name,omitempty"`  // 标签名
	Rules *FeedGroupRules `json:"rules,omitempty"` // 标签规则
}

type FeedGroupCreatorBuilder

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

func NewFeedGroupCreatorBuilder

func NewFeedGroupCreatorBuilder() *FeedGroupCreatorBuilder

func (*FeedGroupCreatorBuilder) Build

func (builder *FeedGroupCreatorBuilder) Build() *FeedGroupCreator

func (*FeedGroupCreatorBuilder) Name

标签名

示例值:测试标签

func (*FeedGroupCreatorBuilder) Rules

标签规则

示例值:

func (*FeedGroupCreatorBuilder) Type

标签类型

示例值:rule

type FeedGroupItem

type FeedGroupItem struct {
	FeedId   *string `json:"feed_id,omitempty"`   // 消息卡片 ID
	FeedType *string `json:"feed_type,omitempty"` // 消息卡片类型
}

type FeedGroupItemBuilder

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

func NewFeedGroupItemBuilder

func NewFeedGroupItemBuilder() *FeedGroupItemBuilder

func (*FeedGroupItemBuilder) Build

func (builder *FeedGroupItemBuilder) Build() *FeedGroupItem

func (*FeedGroupItemBuilder) FeedId

func (builder *FeedGroupItemBuilder) FeedId(feedId string) *FeedGroupItemBuilder

消息卡片 ID

示例值:7191086414609645000

func (*FeedGroupItemBuilder) FeedType

func (builder *FeedGroupItemBuilder) FeedType(feedType string) *FeedGroupItemBuilder

消息卡片类型

示例值:3

type FeedGroupRule

type FeedGroupRule struct {
	Condition *FeedGroupRuleCond `json:"condition,omitempty"` // 条件
	Action    *string            `json:"action,omitempty"`    // 动作
}

type FeedGroupRuleBuilder

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

func NewFeedGroupRuleBuilder

func NewFeedGroupRuleBuilder() *FeedGroupRuleBuilder

func (*FeedGroupRuleBuilder) Action

func (builder *FeedGroupRuleBuilder) Action(action string) *FeedGroupRuleBuilder

动作

示例值:add

func (*FeedGroupRuleBuilder) Build

func (builder *FeedGroupRuleBuilder) Build() *FeedGroupRule

func (*FeedGroupRuleBuilder) Condition

func (builder *FeedGroupRuleBuilder) Condition(condition *FeedGroupRuleCond) *FeedGroupRuleBuilder

条件

示例值:

type FeedGroupRuleCond

type FeedGroupRuleCond struct {
	MatchType      *string                  `json:"match_type,omitempty"`      // 匹配类型
	ConditionItems []*FeedGroupRuleCondItem `json:"condition_items,omitempty"` // 条件项列表
}

type FeedGroupRuleCondBuilder

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

func NewFeedGroupRuleCondBuilder

func NewFeedGroupRuleCondBuilder() *FeedGroupRuleCondBuilder

func (*FeedGroupRuleCondBuilder) Build

func (builder *FeedGroupRuleCondBuilder) Build() *FeedGroupRuleCond

func (*FeedGroupRuleCondBuilder) ConditionItems

func (builder *FeedGroupRuleCondBuilder) ConditionItems(conditionItems []*FeedGroupRuleCondItem) *FeedGroupRuleCondBuilder

条件项列表

示例值:

func (*FeedGroupRuleCondBuilder) MatchType

func (builder *FeedGroupRuleCondBuilder) MatchType(matchType string) *FeedGroupRuleCondBuilder

匹配类型

示例值:match_all

type FeedGroupRuleCondItem

type FeedGroupRuleCondItem struct {
	Type     *string `json:"type,omitempty"`      // 条件类型
	Operator *string `json:"operator,omitempty"`  // 操作符
	Keyword  *string `json:"keyword,omitempty"`   // 关键词
	UserId   *string `json:"user_id,omitempty"`   // 用户 ID
	ChatType *string `json:"chat_type,omitempty"` // 会话类型
}

type FeedGroupRuleCondItemBuilder

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

func NewFeedGroupRuleCondItemBuilder

func NewFeedGroupRuleCondItemBuilder() *FeedGroupRuleCondItemBuilder

func (*FeedGroupRuleCondItemBuilder) Build

func (*FeedGroupRuleCondItemBuilder) ChatType

会话类型

示例值:p2p

func (*FeedGroupRuleCondItemBuilder) Keyword

关键词

示例值:test

func (*FeedGroupRuleCondItemBuilder) Operator

操作符

示例值:contain

func (*FeedGroupRuleCondItemBuilder) Type

条件类型

示例值:keyword

func (*FeedGroupRuleCondItemBuilder) UserId

用户 ID

示例值:ou_685fae31552ae88681bc69b4a15502df

type FeedGroupRules

type FeedGroupRules struct {
	Rules []*FeedGroupRule `json:"rules,omitempty"` // 规则列表
}

type FeedGroupRulesBuilder

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

func NewFeedGroupRulesBuilder

func NewFeedGroupRulesBuilder() *FeedGroupRulesBuilder

func (*FeedGroupRulesBuilder) Build

func (builder *FeedGroupRulesBuilder) Build() *FeedGroupRules

func (*FeedGroupRulesBuilder) Rules

func (builder *FeedGroupRulesBuilder) Rules(rules []*FeedGroupRule) *FeedGroupRulesBuilder

规则列表

示例值:

type FeedGroupUpdater

type FeedGroupUpdater struct {
	GroupId      *string         `json:"group_id,omitempty"`      // 标签 ID
	Name         *string         `json:"name,omitempty"`          // 标签名
	Rules        *FeedGroupRules `json:"rules,omitempty"`         // 标签规则列表
	UpdateFields []string        `json:"update_fields,omitempty"` // 更新字段列表
}

type FeedGroupUpdaterBuilder

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

func NewFeedGroupUpdaterBuilder

func NewFeedGroupUpdaterBuilder() *FeedGroupUpdaterBuilder

func (*FeedGroupUpdaterBuilder) Build

func (builder *FeedGroupUpdaterBuilder) Build() *FeedGroupUpdater

func (*FeedGroupUpdaterBuilder) GroupId

func (builder *FeedGroupUpdaterBuilder) GroupId(groupId string) *FeedGroupUpdaterBuilder

标签 ID

示例值:7091086414609645828

func (*FeedGroupUpdaterBuilder) Name

标签名

示例值:test

func (*FeedGroupUpdaterBuilder) Rules

标签规则列表

示例值:

func (*FeedGroupUpdaterBuilder) UpdateFields

func (builder *FeedGroupUpdaterBuilder) UpdateFields(updateFields []string) *FeedGroupUpdaterBuilder

更新字段列表

示例值:

type GetBizEntityTagRelationReq

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

type GetBizEntityTagRelationReqBuilder

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

func NewGetBizEntityTagRelationReqBuilder

func NewGetBizEntityTagRelationReqBuilder() *GetBizEntityTagRelationReqBuilder

func (*GetBizEntityTagRelationReqBuilder) BizEntityId

业务实体id

示例值:71616xxxx

func (*GetBizEntityTagRelationReqBuilder) BotId

机器人id

示例值:71616xxxx

func (*GetBizEntityTagRelationReqBuilder) Build

func (*GetBizEntityTagRelationReqBuilder) TagBizType

业务类型

示例值:chat

type GetBizEntityTagRelationResp

type GetBizEntityTagRelationResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetBizEntityTagRelationRespData `json:"data"` // 业务数据
}

func (*GetBizEntityTagRelationResp) Success

func (resp *GetBizEntityTagRelationResp) Success() bool

type GetBizEntityTagRelationRespData

type GetBizEntityTagRelationRespData struct {
	TagInfoWithBindVersions []*TagInfoWithBindVersion `json:"tag_info_with_bind_versions,omitempty"` // 标签内容及绑定时间
}

type GroupFailedReason

type GroupFailedReason struct {
	GroupId      *string `json:"group_id,omitempty"`      // 标签 ID
	ErrorCode    *int    `json:"error_code,omitempty"`    // 错误码
	ErrorMessage *string `json:"error_message,omitempty"` // 错误信息
}

type GroupFailedReasonBuilder

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

func NewGroupFailedReasonBuilder

func NewGroupFailedReasonBuilder() *GroupFailedReasonBuilder

func (*GroupFailedReasonBuilder) Build

func (builder *GroupFailedReasonBuilder) Build() *GroupFailedReason

func (*GroupFailedReasonBuilder) ErrorCode

func (builder *GroupFailedReasonBuilder) ErrorCode(errorCode int) *GroupFailedReasonBuilder

错误码

示例值:0

func (*GroupFailedReasonBuilder) ErrorMessage

func (builder *GroupFailedReasonBuilder) ErrorMessage(errorMessage string) *GroupFailedReasonBuilder

错误信息

示例值:test error message

func (*GroupFailedReasonBuilder) GroupId

func (builder *GroupFailedReasonBuilder) GroupId(groupId string) *GroupFailedReasonBuilder

标签 ID

示例值:7091086414609645828

type GroupItemFailedReason

type GroupItemFailedReason struct {
	Item         *FeedGroupItem `json:"item,omitempty"`          // 标签项
	ErrorCode    *int           `json:"error_code,omitempty"`    // 错误码
	ErrorMessage *string        `json:"error_message,omitempty"` // 错误消息
}

type GroupItemFailedReasonBuilder

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

func NewGroupItemFailedReasonBuilder

func NewGroupItemFailedReasonBuilder() *GroupItemFailedReasonBuilder

func (*GroupItemFailedReasonBuilder) Build

func (*GroupItemFailedReasonBuilder) ErrorCode

func (builder *GroupItemFailedReasonBuilder) ErrorCode(errorCode int) *GroupItemFailedReasonBuilder

错误码

示例值:0

func (*GroupItemFailedReasonBuilder) ErrorMessage

func (builder *GroupItemFailedReasonBuilder) ErrorMessage(errorMessage string) *GroupItemFailedReasonBuilder

错误消息

示例值:test error message

func (*GroupItemFailedReasonBuilder) Item

标签项

示例值:

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
}

func NewI18nNamesBuilder

func NewI18nNamesBuilder() *I18nNamesBuilder

func (*I18nNamesBuilder) Build

func (builder *I18nNamesBuilder) Build() *I18nNames

func (*I18nNamesBuilder) EnUs

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

英文名称

示例值:To-do items

func (*I18nNamesBuilder) JaJp

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

日文名称

示例值:To Do アイテム

func (*I18nNamesBuilder) ZhCn

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

中文名称

示例值:待办事项

type MessageCommonHeader

type MessageCommonHeader struct {
}

type MessageCommonHeaderBuilder

type MessageCommonHeaderBuilder struct {
}

func NewMessageCommonHeaderBuilder

func NewMessageCommonHeaderBuilder() *MessageCommonHeaderBuilder

func (*MessageCommonHeaderBuilder) Build

type MessageLink struct {
	Token    *string `json:"token,omitempty"`     // 消息链接化Token
	TokenUrl *string `json:"token_url,omitempty"` // 消息链接化URL
}

type MessageLinkBuilder

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

func NewMessageLinkBuilder

func NewMessageLinkBuilder() *MessageLinkBuilder

func (*MessageLinkBuilder) Build

func (builder *MessageLinkBuilder) Build() *MessageLink

func (*MessageLinkBuilder) Token

func (builder *MessageLinkBuilder) Token(token string) *MessageLinkBuilder

消息链接化Token

示例值:Alx4rstyAAEHZNIAS0abcdefgh

func (*MessageLinkBuilder) TokenUrl

func (builder *MessageLinkBuilder) TokenUrl(tokenUrl string) *MessageLinkBuilder

消息链接化URL

示例值:https://applink.feishu.cn/client/message/link/open?token=Alx4rstyAAEHZNIAS0abcdefgh

type MessagePin

type MessagePin struct {
	MessageId *string `json:"message_id,omitempty"` // 消息ID
}

type MessagePinBuilder

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

func NewMessagePinBuilder

func NewMessagePinBuilder() *MessagePinBuilder

func (*MessagePinBuilder) Build

func (builder *MessagePinBuilder) Build() *MessagePin

func (*MessagePinBuilder) MessageId

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

消息ID

示例值:om_dc13264520392913993dd051dba21dcf

type OpenAppFeedCard

type OpenAppFeedCard struct {
	BizId         *string                 `json:"biz_id,omitempty"`         // 业务 ID
	Title         *string                 `json:"title,omitempty"`          // 主标题
	AvatarKey     *string                 `json:"avatar_key,omitempty"`     // 头像 key
	Preview       *string                 `json:"preview,omitempty"`        // 预览信息
	StatusLabel   *OpenFeedStatusLabel    `json:"status_label,omitempty"`   // 状态标签
	Buttons       *OpenAppFeedCardButtons `json:"buttons,omitempty"`        // 交互按钮
	Link          *OpenAppFeedLink        `json:"link,omitempty"`           // 跳转链接
	TimeSensitive *bool                   `json:"time_sensitive,omitempty"` // 即时提醒状态,true-打开,false-关闭
	Notify        *AppFeedNotify          `json:"notify,omitempty"`         // 通知设置,当前可设置通知是否关闭,为空时默认进行通知
}

type OpenAppFeedCardBuilder

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

func NewOpenAppFeedCardBuilder

func NewOpenAppFeedCardBuilder() *OpenAppFeedCardBuilder

func (*OpenAppFeedCardBuilder) AvatarKey

func (builder *OpenAppFeedCardBuilder) AvatarKey(avatarKey string) *OpenAppFeedCardBuilder

头像 key

示例值:v3_0041_007bca9f-67ba-4199-bf00-4031b12cf226

func (*OpenAppFeedCardBuilder) BizId

func (builder *OpenAppFeedCardBuilder) BizId(bizId string) *OpenAppFeedCardBuilder

业务 ID

示例值:096e2927-40a6-41a3-9562-314d641d09ae

func (*OpenAppFeedCardBuilder) Build

func (builder *OpenAppFeedCardBuilder) Build() *OpenAppFeedCard

func (*OpenAppFeedCardBuilder) Buttons

交互按钮

示例值:

跳转链接

示例值:

func (*OpenAppFeedCardBuilder) Notify

通知设置,当前可设置通知是否关闭,为空时默认进行通知

示例值:

func (*OpenAppFeedCardBuilder) Preview

func (builder *OpenAppFeedCardBuilder) Preview(preview string) *OpenAppFeedCardBuilder

预览信息

示例值:预览信息

func (*OpenAppFeedCardBuilder) StatusLabel

func (builder *OpenAppFeedCardBuilder) StatusLabel(statusLabel *OpenFeedStatusLabel) *OpenAppFeedCardBuilder

状态标签

示例值:

func (*OpenAppFeedCardBuilder) TimeSensitive

func (builder *OpenAppFeedCardBuilder) TimeSensitive(timeSensitive bool) *OpenAppFeedCardBuilder

即时提醒状态,true-打开,false-关闭

示例值:false

func (*OpenAppFeedCardBuilder) Title

func (builder *OpenAppFeedCardBuilder) Title(title string) *OpenAppFeedCardBuilder

主标题

示例值:主标题

type OpenAppFeedCardButton

type OpenAppFeedCardButton struct {
	MultiUrl   *OpenAppFeedCardUrl  `json:"multi_url,omitempty"`   // 跳转 URL
	ActionType *string              `json:"action_type,omitempty"` // 交互类型
	Text       *OpenAppFeedCardText `json:"text,omitempty"`        // 文字
	ButtonType *string              `json:"button_type,omitempty"` // 按钮类型
	ActionMap  map[string]string    `json:"action_map,omitempty"`  // action 字典
}

type OpenAppFeedCardButtonBuilder

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

func NewOpenAppFeedCardButtonBuilder

func NewOpenAppFeedCardButtonBuilder() *OpenAppFeedCardButtonBuilder

func (*OpenAppFeedCardButtonBuilder) ActionMap

func (builder *OpenAppFeedCardButtonBuilder) ActionMap(actionMap map[string]string) *OpenAppFeedCardButtonBuilder

action 字典

示例值:

func (*OpenAppFeedCardButtonBuilder) ActionType

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

交互类型

示例值:url_page

func (*OpenAppFeedCardButtonBuilder) Build

func (*OpenAppFeedCardButtonBuilder) ButtonType

func (builder *OpenAppFeedCardButtonBuilder) ButtonType(buttonType string) *OpenAppFeedCardButtonBuilder

按钮类型

示例值:default

func (*OpenAppFeedCardButtonBuilder) MultiUrl

跳转 URL

示例值:

func (*OpenAppFeedCardButtonBuilder) Text

文字

示例值:

type OpenAppFeedCardButtons

type OpenAppFeedCardButtons struct {
	Buttons []*OpenAppFeedCardButton `json:"buttons,omitempty"` // 按钮组合
}

type OpenAppFeedCardButtonsBuilder

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

func NewOpenAppFeedCardButtonsBuilder

func NewOpenAppFeedCardButtonsBuilder() *OpenAppFeedCardButtonsBuilder

func (*OpenAppFeedCardButtonsBuilder) Build

func (*OpenAppFeedCardButtonsBuilder) Buttons

按钮组合

示例值:

type OpenAppFeedCardText

type OpenAppFeedCardText struct {
	Text *string `json:"text,omitempty"` // 文本
}

type OpenAppFeedCardTextBuilder

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

func NewOpenAppFeedCardTextBuilder

func NewOpenAppFeedCardTextBuilder() *OpenAppFeedCardTextBuilder

func (*OpenAppFeedCardTextBuilder) Build

func (*OpenAppFeedCardTextBuilder) Text

文本

示例值:文本

type OpenAppFeedCardUrl

type OpenAppFeedCardUrl struct {
	Url        *string `json:"url,omitempty"`         // 默认 URL
	AndroidUrl *string `json:"android_url,omitempty"` // Android 平台 URL
	IosUrl     *string `json:"ios_url,omitempty"`     // iOS 平台 URL
	PcUrl      *string `json:"pc_url,omitempty"`      // PC URL
}

type OpenAppFeedCardUrlBuilder

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

func NewOpenAppFeedCardUrlBuilder

func NewOpenAppFeedCardUrlBuilder() *OpenAppFeedCardUrlBuilder

func (*OpenAppFeedCardUrlBuilder) AndroidUrl

func (builder *OpenAppFeedCardUrlBuilder) AndroidUrl(androidUrl string) *OpenAppFeedCardUrlBuilder

Android 平台 URL

示例值:https://www.feishu.cn/

func (*OpenAppFeedCardUrlBuilder) Build

func (*OpenAppFeedCardUrlBuilder) IosUrl

iOS 平台 URL

示例值:https://www.feishu.cn/

func (*OpenAppFeedCardUrlBuilder) PcUrl

PC URL

示例值:https://www.feishu.cn/

func (*OpenAppFeedCardUrlBuilder) Url

默认 URL

示例值:https://www.feishu.cn/

type OpenAppFeedLink struct {
	Link *string `json:"link,omitempty"` // 链接
}

type OpenAppFeedLinkBuilder

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

func NewOpenAppFeedLinkBuilder

func NewOpenAppFeedLinkBuilder() *OpenAppFeedLinkBuilder

func (*OpenAppFeedLinkBuilder) Build

func (builder *OpenAppFeedLinkBuilder) Build() *OpenAppFeedLink

链接

示例值:https://www.feishu.cn/

type OpenDisplayFeedRule

type OpenDisplayFeedRule struct {
	MainRule *string  `json:"main_rule,omitempty"` // 主规则
	MsgTypes []string `json:"msg_types,omitempty"` // 重要新消息类型
}

type OpenDisplayFeedRuleBuilder

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

func NewOpenDisplayFeedRuleBuilder

func NewOpenDisplayFeedRuleBuilder() *OpenDisplayFeedRuleBuilder

func (*OpenDisplayFeedRuleBuilder) Build

func (*OpenDisplayFeedRuleBuilder) MainRule

func (builder *OpenDisplayFeedRuleBuilder) MainRule(mainRule string) *OpenDisplayFeedRuleBuilder

主规则

示例值:always_display

func (*OpenDisplayFeedRuleBuilder) MsgTypes

func (builder *OpenDisplayFeedRuleBuilder) MsgTypes(msgTypes []string) *OpenDisplayFeedRuleBuilder

重要新消息类型

示例值:

type OpenFailedUserAppFeedCardItem

type OpenFailedUserAppFeedCardItem struct {
	BizId  *string `json:"biz_id,omitempty"`  // 业务 ID
	UserId *string `json:"user_id,omitempty"` // 用户 ID
	Reason *string `json:"reason,omitempty"`  // 原因
}

type OpenFailedUserAppFeedCardItemBuilder

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

func NewOpenFailedUserAppFeedCardItemBuilder

func NewOpenFailedUserAppFeedCardItemBuilder() *OpenFailedUserAppFeedCardItemBuilder

func (*OpenFailedUserAppFeedCardItemBuilder) BizId

业务 ID

示例值:bdf22389-87ec-4890-9eb6-78a7efaeecbb

func (*OpenFailedUserAppFeedCardItemBuilder) Build

func (*OpenFailedUserAppFeedCardItemBuilder) Reason

原因

示例值:

func (*OpenFailedUserAppFeedCardItemBuilder) UserId

用户 ID

示例值:

type OpenFeedStatusLabel

type OpenFeedStatusLabel struct {
	Text *string `json:"text,omitempty"` // 标签文字
	Type *string `json:"type,omitempty"` // 标签类型
}

type OpenFeedStatusLabelBuilder

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

func NewOpenFeedStatusLabelBuilder

func NewOpenFeedStatusLabelBuilder() *OpenFeedStatusLabelBuilder

func (*OpenFeedStatusLabelBuilder) Build

func (*OpenFeedStatusLabelBuilder) Text

标签文字

示例值:标签文字

func (*OpenFeedStatusLabelBuilder) Type

标签类型

示例值:primary

type PatchFeedCardPathReqBodyBuilder

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

func NewPatchFeedCardPathReqBodyBuilder

func NewPatchFeedCardPathReqBodyBuilder() *PatchFeedCardPathReqBodyBuilder

func (*PatchFeedCardPathReqBodyBuilder) Build

func (*PatchFeedCardPathReqBodyBuilder) TimeSensitive

func (builder *PatchFeedCardPathReqBodyBuilder) TimeSensitive(timeSensitive bool) *PatchFeedCardPathReqBodyBuilder

临时置顶状态,true-打开,false-关闭

示例值:true

func (*PatchFeedCardPathReqBodyBuilder) UserIds

用户id 列表

示例值:

type PatchFeedCardReq

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

type PatchFeedCardReqBody

type PatchFeedCardReqBody struct {
	TimeSensitive *bool    `json:"time_sensitive,omitempty"` // 临时置顶状态,true-打开,false-关闭
	UserIds       []string `json:"user_ids,omitempty"`       // 用户id 列表
}

type PatchFeedCardReqBodyBuilder

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

func NewPatchFeedCardReqBodyBuilder

func NewPatchFeedCardReqBodyBuilder() *PatchFeedCardReqBodyBuilder

func (*PatchFeedCardReqBodyBuilder) Build

func (*PatchFeedCardReqBodyBuilder) TimeSensitive

func (builder *PatchFeedCardReqBodyBuilder) TimeSensitive(timeSensitive bool) *PatchFeedCardReqBodyBuilder

临时置顶状态,true-打开,false-关闭

示例值:true

func (*PatchFeedCardReqBodyBuilder) UserIds

func (builder *PatchFeedCardReqBodyBuilder) UserIds(userIds []string) *PatchFeedCardReqBodyBuilder

用户id 列表

示例值:

type PatchFeedCardReqBuilder

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

func NewPatchFeedCardReqBuilder

func NewPatchFeedCardReqBuilder() *PatchFeedCardReqBuilder

func (*PatchFeedCardReqBuilder) Body

func (*PatchFeedCardReqBuilder) Build

func (builder *PatchFeedCardReqBuilder) Build() *PatchFeedCardReq

func (*PatchFeedCardReqBuilder) FeedCardId

func (builder *PatchFeedCardReqBuilder) FeedCardId(feedCardId string) *PatchFeedCardReqBuilder

群id,现只支持群

示例值:oc_679eaeb583654bff73fefcc6e6371370

func (*PatchFeedCardReqBuilder) UserIdType

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

此次调用中使用的用户ID的类型 可选值有: - open_id: 以open_id来识别用户 - user_id: 以user_id来识别用户 - union_id: 以union_id来识别用户

示例值:open_id

type PatchFeedCardResp

type PatchFeedCardResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchFeedCardRespData `json:"data"` // 业务数据
}

func (*PatchFeedCardResp) Success

func (resp *PatchFeedCardResp) Success() bool

type PatchFeedCardRespData

type PatchFeedCardRespData struct {
	FailedUserReasons []*FailedReason `json:"failed_user_reasons,omitempty"` // 失败原因
}

type PatchTag

type PatchTag struct {
	Id        *string        `json:"id,omitempty"`         // tagid
	Name      *string        `json:"name,omitempty"`       // tag name
	I18nNames []*TagI18nName `json:"i18n_names,omitempty"` // i18n名称集合
}

type PatchTagBuilder

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

func NewPatchTagBuilder

func NewPatchTagBuilder() *PatchTagBuilder

func (*PatchTagBuilder) Build

func (builder *PatchTagBuilder) Build() *PatchTag

func (*PatchTagBuilder) I18nNames

func (builder *PatchTagBuilder) I18nNames(i18nNames []*TagI18nName) *PatchTagBuilder

i18n名称集合

示例值:

func (*PatchTagBuilder) Id

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

tagid

示例值:716168xxxxx

func (*PatchTagBuilder) Name

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

tag name

示例值:tag name

type PatchTagFailReason

type PatchTagFailReason struct {
	DuplicateId *string `json:"duplicate_id,omitempty"` // 名称重复的标签id
}

type PatchTagFailReasonBuilder

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

func NewPatchTagFailReasonBuilder

func NewPatchTagFailReasonBuilder() *PatchTagFailReasonBuilder

func (*PatchTagFailReasonBuilder) Build

func (*PatchTagFailReasonBuilder) DuplicateId

func (builder *PatchTagFailReasonBuilder) DuplicateId(duplicateId string) *PatchTagFailReasonBuilder

名称重复的标签id

示例值:716168xxxxx

type PatchTagPathReqBodyBuilder

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

func NewPatchTagPathReqBodyBuilder

func NewPatchTagPathReqBodyBuilder() *PatchTagPathReqBodyBuilder

func (*PatchTagPathReqBodyBuilder) Build

func (builder *PatchTagPathReqBodyBuilder) Build() (*PatchTagReqBody, error)

func (*PatchTagPathReqBodyBuilder) PatchTag

func (builder *PatchTagPathReqBodyBuilder) PatchTag(patchTag *PatchTag) *PatchTagPathReqBodyBuilder

编辑标签

示例值:

type PatchTagReq

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

type PatchTagReqBody

type PatchTagReqBody struct {
	PatchTag *PatchTag `json:"patch_tag,omitempty"` // 编辑标签

}

type PatchTagReqBodyBuilder

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

func NewPatchTagReqBodyBuilder

func NewPatchTagReqBodyBuilder() *PatchTagReqBodyBuilder

func (*PatchTagReqBodyBuilder) Build

func (builder *PatchTagReqBodyBuilder) Build() *PatchTagReqBody

func (*PatchTagReqBodyBuilder) PatchTag

func (builder *PatchTagReqBodyBuilder) PatchTag(patchTag *PatchTag) *PatchTagReqBodyBuilder

编辑标签

示例值:

type PatchTagReqBuilder

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

func NewPatchTagReqBuilder

func NewPatchTagReqBuilder() *PatchTagReqBuilder

func (*PatchTagReqBuilder) Body

func (*PatchTagReqBuilder) Build

func (builder *PatchTagReqBuilder) Build() *PatchTagReq

func (*PatchTagReqBuilder) TagId

func (builder *PatchTagReqBuilder) TagId(tagId string) *PatchTagReqBuilder

tagid

示例值:716168xxxxx

type PatchTagResp

type PatchTagResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchTagRespData `json:"data"` // 业务数据
}

func (*PatchTagResp) Success

func (resp *PatchTagResp) Success() bool

type PatchTagRespData

type PatchTagRespData struct {
	TagInfo            *TagInfo            `json:"tag_info,omitempty"`              // 编辑后的taginfo
	PatchTagFailReason *PatchTagFailReason `json:"patch_tag_fail_reason,omitempty"` // 修改失败原因
}

type TagI18nName

type TagI18nName struct {
	Locale *string `json:"locale,omitempty"` // 语言
	Name   *string `json:"name,omitempty"`   // 名称
}

type TagI18nNameBuilder

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

func NewTagI18nNameBuilder

func NewTagI18nNameBuilder() *TagI18nNameBuilder

func (*TagI18nNameBuilder) Build

func (builder *TagI18nNameBuilder) Build() *TagI18nName

func (*TagI18nNameBuilder) Locale

func (builder *TagI18nNameBuilder) Locale(locale string) *TagI18nNameBuilder

语言

示例值:zh-CN

func (*TagI18nNameBuilder) Name

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

名称

示例值:tagName1

type TagInfo

type TagInfo struct {
	Id         *string        `json:"id,omitempty"`          // id
	TenantId   *string        `json:"tenant_id,omitempty"`   // 租户id
	TagType    *string        `json:"tag_type,omitempty"`    // 标签类型
	Name       *string        `json:"name,omitempty"`        // name
	I18nNames  []*TagI18nName `json:"i18n_names,omitempty"`  // i18n name
	CreatorId  *string        `json:"creator_id,omitempty"`  // 创建人
	CreateTime *string        `json:"create_time,omitempty"` // 创建时间
	UpdateTime *string        `json:"update_time,omitempty"` // 更新时间
}

type TagInfoBuilder

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

func NewTagInfoBuilder

func NewTagInfoBuilder() *TagInfoBuilder

func (*TagInfoBuilder) Build

func (builder *TagInfoBuilder) Build() *TagInfo

func (*TagInfoBuilder) CreateTime

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

创建时间

示例值:1700793403850

func (*TagInfoBuilder) CreatorId

func (builder *TagInfoBuilder) CreatorId(creatorId string) *TagInfoBuilder

创建人

示例值:716168xxxxx

func (*TagInfoBuilder) I18nNames

func (builder *TagInfoBuilder) I18nNames(i18nNames []*TagI18nName) *TagInfoBuilder

i18n name

示例值:

func (*TagInfoBuilder) Id

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

id

示例值:716168xxxxx

func (*TagInfoBuilder) Name

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

name

示例值:tagName1

func (*TagInfoBuilder) TagType

func (builder *TagInfoBuilder) TagType(tagType string) *TagInfoBuilder

标签类型

示例值:tenant

func (*TagInfoBuilder) TenantId

func (builder *TagInfoBuilder) TenantId(tenantId string) *TagInfoBuilder

租户id

示例值:716168xxxxx

func (*TagInfoBuilder) UpdateTime

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

更新时间

示例值:1700793403850

type TagInfoWithBindVersion

type TagInfoWithBindVersion struct {
	TagInfo     *TagInfo `json:"tag_info,omitempty"`     // 标签内容
	BindVersion *string  `json:"bind_version,omitempty"` // 绑定时间
}

type TagInfoWithBindVersionBuilder

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

func NewTagInfoWithBindVersionBuilder

func NewTagInfoWithBindVersionBuilder() *TagInfoWithBindVersionBuilder

func (*TagInfoWithBindVersionBuilder) BindVersion

func (builder *TagInfoWithBindVersionBuilder) BindVersion(bindVersion string) *TagInfoWithBindVersionBuilder

绑定时间

示例值:1710401562336

func (*TagInfoWithBindVersionBuilder) Build

func (*TagInfoWithBindVersionBuilder) TagInfo

标签内容

示例值:

type UnReadUrgentMessage

type UnReadUrgentMessage struct {
	Id          *string `json:"id,omitempty"`           // id
	MessageId   *string `json:"message_id,omitempty"`   // 消息id
	ChatterId   *string `json:"chatter_id,omitempty"`   // 加急接受者id
	Status      *int    `json:"status,omitempty"`       // 加急状态
	ConfirmTime *string `json:"confirm_time,omitempty"` // 确定时间
	SendTime    *string `json:"send_time,omitempty"`    // 加急时间
	Type        *int    `json:"type,omitempty"`         // 加急类型
	FromId      *string `json:"from_id,omitempty"`      // 消息发送者
	ChatId      *string `json:"chat_id,omitempty"`      // 群组id
}

type UnReadUrgentMessageBuilder

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

func NewUnReadUrgentMessageBuilder

func NewUnReadUrgentMessageBuilder() *UnReadUrgentMessageBuilder

func (*UnReadUrgentMessageBuilder) Build

func (*UnReadUrgentMessageBuilder) ChatId

群组id

示例值:oc_a0553eda9014c201e6969b478895c2343

func (*UnReadUrgentMessageBuilder) ChatterId

func (builder *UnReadUrgentMessageBuilder) ChatterId(chatterId string) *UnReadUrgentMessageBuilder

加急接受者id

示例值:ou_61c3751f5c2ba7f57aa14885a6512c02

func (*UnReadUrgentMessageBuilder) ConfirmTime

func (builder *UnReadUrgentMessageBuilder) ConfirmTime(confirmTime string) *UnReadUrgentMessageBuilder

确定时间

示例值:1704038400000

func (*UnReadUrgentMessageBuilder) FromId

消息发送者

示例值:ou_a0553eda9014c201e6969b478895c230

func (*UnReadUrgentMessageBuilder) Id

id

示例值:7220315920974954516

func (*UnReadUrgentMessageBuilder) MessageId

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

消息id

示例值:om_dc13264520392913993dd051dba21dcf

func (*UnReadUrgentMessageBuilder) SendTime

func (builder *UnReadUrgentMessageBuilder) SendTime(sendTime string) *UnReadUrgentMessageBuilder

加急时间

示例值:1704038400000

func (*UnReadUrgentMessageBuilder) Status

加急状态

示例值:0

func (*UnReadUrgentMessageBuilder) Type

加急类型

示例值:0

type UnreadAtMessage

type UnreadAtMessage struct {
	MessageId    *string `json:"message_id,omitempty"`     // 消息id
	FromId       *string `json:"from_id,omitempty"`        // 消息发送者
	ChatId       *string `json:"chat_id,omitempty"`        // 群组id
	CreateTime   *string `json:"create_time,omitempty"`    // 发送时间
	CreateTimeMs *string `json:"create_time_ms,omitempty"` // 发送时间毫秒
	UpdateTimeMs *string `json:"update_time_ms,omitempty"` // 更新时间毫秒
	Type         *int    `json:"type,omitempty"`           // 消息类型
	IsAtAll      *bool   `json:"is_at_all,omitempty"`      // 是否为atall
}

type UnreadAtMessageBuilder

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

func NewUnreadAtMessageBuilder

func NewUnreadAtMessageBuilder() *UnreadAtMessageBuilder

func (*UnreadAtMessageBuilder) Build

func (builder *UnreadAtMessageBuilder) Build() *UnreadAtMessage

func (*UnreadAtMessageBuilder) ChatId

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

群组id

示例值:oc_a0553eda9014c201e6969b478895c2343

func (*UnreadAtMessageBuilder) CreateTime

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

发送时间

示例值:1704038400000

func (*UnreadAtMessageBuilder) CreateTimeMs

func (builder *UnreadAtMessageBuilder) CreateTimeMs(createTimeMs string) *UnreadAtMessageBuilder

发送时间毫秒

示例值:1704038400000

func (*UnreadAtMessageBuilder) FromId

func (builder *UnreadAtMessageBuilder) FromId(fromId string) *UnreadAtMessageBuilder

消息发送者

示例值:ou_a0553eda9014c201e6969b478895c230

func (*UnreadAtMessageBuilder) IsAtAll

func (builder *UnreadAtMessageBuilder) IsAtAll(isAtAll bool) *UnreadAtMessageBuilder

是否为atall

示例值:false

func (*UnreadAtMessageBuilder) MessageId

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

消息id

示例值:om_dc13264520392913993dd051dba21dcf

func (*UnreadAtMessageBuilder) Type

func (builder *UnreadAtMessageBuilder) Type(type_ int) *UnreadAtMessageBuilder

消息类型

示例值:

func (*UnreadAtMessageBuilder) UpdateTimeMs

func (builder *UnreadAtMessageBuilder) UpdateTimeMs(updateTimeMs string) *UnreadAtMessageBuilder

更新时间毫秒

示例值:1704038400000

type UpdateAppFeedCardBatchPathReqBodyBuilder

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

func NewUpdateAppFeedCardBatchPathReqBodyBuilder

func NewUpdateAppFeedCardBatchPathReqBodyBuilder() *UpdateAppFeedCardBatchPathReqBodyBuilder

func (*UpdateAppFeedCardBatchPathReqBodyBuilder) Build

func (*UpdateAppFeedCardBatchPathReqBodyBuilder) FeedCards

应用消息卡片

示例值:

type UpdateAppFeedCardBatchReq

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

type UpdateAppFeedCardBatchReqBody

type UpdateAppFeedCardBatchReqBody struct {
	FeedCards []*UserOpenAppFeedCardUpdater `json:"feed_cards,omitempty"` // 应用消息卡片
}

type UpdateAppFeedCardBatchReqBodyBuilder

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

func NewUpdateAppFeedCardBatchReqBodyBuilder

func NewUpdateAppFeedCardBatchReqBodyBuilder() *UpdateAppFeedCardBatchReqBodyBuilder

func (*UpdateAppFeedCardBatchReqBodyBuilder) Build

func (*UpdateAppFeedCardBatchReqBodyBuilder) FeedCards

应用消息卡片

示例值:

type UpdateAppFeedCardBatchReqBuilder

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

func NewUpdateAppFeedCardBatchReqBuilder

func NewUpdateAppFeedCardBatchReqBuilder() *UpdateAppFeedCardBatchReqBuilder

func (*UpdateAppFeedCardBatchReqBuilder) Body

func (*UpdateAppFeedCardBatchReqBuilder) Build

func (*UpdateAppFeedCardBatchReqBuilder) UserIdType

此次调用中使用的用户ID的类型 可选值有: - open_id: 以open_id来识别用户 - user_id: 以user_id来识别用户 - union_id: 以union_id来识别用户

示例值:open_id

type UpdateAppFeedCardBatchResp

type UpdateAppFeedCardBatchResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateAppFeedCardBatchRespData `json:"data"` // 业务数据
}

func (*UpdateAppFeedCardBatchResp) Success

func (resp *UpdateAppFeedCardBatchResp) Success() bool

type UpdateAppFeedCardBatchRespData

type UpdateAppFeedCardBatchRespData struct {
	FailedCards []*OpenFailedUserAppFeedCardItem `json:"failed_cards,omitempty"` // 失败的卡片
}

type UpdateBizEntityTagRelationPathReqBodyBuilder

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

func NewUpdateBizEntityTagRelationPathReqBodyBuilder

func NewUpdateBizEntityTagRelationPathReqBodyBuilder() *UpdateBizEntityTagRelationPathReqBodyBuilder

func (*UpdateBizEntityTagRelationPathReqBodyBuilder) BizEntityId

业务实体id

示例值:7161681111

func (*UpdateBizEntityTagRelationPathReqBodyBuilder) Build

func (*UpdateBizEntityTagRelationPathReqBodyBuilder) TagBizType

业务类型

示例值:chat

func (*UpdateBizEntityTagRelationPathReqBodyBuilder) TagIds

标签id

示例值:

type UpdateBizEntityTagRelationReq

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

type UpdateBizEntityTagRelationReqBody

type UpdateBizEntityTagRelationReqBody struct {
	TagBizType  *string  `json:"tag_biz_type,omitempty"`  // 业务类型
	BizEntityId *string  `json:"biz_entity_id,omitempty"` // 业务实体id
	TagIds      []string `json:"tag_ids,omitempty"`       // 标签id

}

type UpdateBizEntityTagRelationReqBodyBuilder

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

func NewUpdateBizEntityTagRelationReqBodyBuilder

func NewUpdateBizEntityTagRelationReqBodyBuilder() *UpdateBizEntityTagRelationReqBodyBuilder

func (*UpdateBizEntityTagRelationReqBodyBuilder) BizEntityId

业务实体id

示例值:7161681111

func (*UpdateBizEntityTagRelationReqBodyBuilder) Build

func (*UpdateBizEntityTagRelationReqBodyBuilder) TagBizType

业务类型

示例值:chat

func (*UpdateBizEntityTagRelationReqBodyBuilder) TagIds

标签id

示例值:

type UpdateBizEntityTagRelationReqBuilder

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

func NewUpdateBizEntityTagRelationReqBuilder

func NewUpdateBizEntityTagRelationReqBuilder() *UpdateBizEntityTagRelationReqBuilder

func (*UpdateBizEntityTagRelationReqBuilder) Body

func (*UpdateBizEntityTagRelationReqBuilder) Build

type UpdateBizEntityTagRelationResp

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

func (*UpdateBizEntityTagRelationResp) Success

func (resp *UpdateBizEntityTagRelationResp) Success() bool

type UpdateChatButtonPathReqBodyBuilder

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

func NewUpdateChatButtonPathReqBodyBuilder

func NewUpdateChatButtonPathReqBodyBuilder() *UpdateChatButtonPathReqBodyBuilder

func (*UpdateChatButtonPathReqBodyBuilder) Build

func (*UpdateChatButtonPathReqBodyBuilder) Buttons

按钮

示例值:

func (*UpdateChatButtonPathReqBodyBuilder) ChatId

群 ID

示例值:oc_a0553eda9014c201e6969b478895c230

func (*UpdateChatButtonPathReqBodyBuilder) UserIds

用户 ID 列表

示例值:

type UpdateChatButtonReq

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

type UpdateChatButtonReqBody

type UpdateChatButtonReqBody struct {
	UserIds []string                `json:"user_ids,omitempty"` // 用户 ID 列表
	ChatId  *string                 `json:"chat_id,omitempty"`  // 群 ID
	Buttons *OpenAppFeedCardButtons `json:"buttons,omitempty"`  // 按钮

}

type UpdateChatButtonReqBodyBuilder

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

func NewUpdateChatButtonReqBodyBuilder

func NewUpdateChatButtonReqBodyBuilder() *UpdateChatButtonReqBodyBuilder

func (*UpdateChatButtonReqBodyBuilder) Build

func (*UpdateChatButtonReqBodyBuilder) Buttons

按钮

示例值:

func (*UpdateChatButtonReqBodyBuilder) ChatId

群 ID

示例值:oc_a0553eda9014c201e6969b478895c230

func (*UpdateChatButtonReqBodyBuilder) UserIds

用户 ID 列表

示例值:

type UpdateChatButtonReqBuilder

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

func NewUpdateChatButtonReqBuilder

func NewUpdateChatButtonReqBuilder() *UpdateChatButtonReqBuilder

func (*UpdateChatButtonReqBuilder) Body

func (*UpdateChatButtonReqBuilder) Build

func (*UpdateChatButtonReqBuilder) UserIdType

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

用户 ID 类型

示例值:open_id

type UpdateChatButtonResp

type UpdateChatButtonResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateChatButtonRespData `json:"data"` // 业务数据
}

func (*UpdateChatButtonResp) Success

func (resp *UpdateChatButtonResp) Success() bool

type UpdateChatButtonRespData

type UpdateChatButtonRespData struct {
	FailedUserReasons []*FailedReason `json:"failed_user_reasons,omitempty"` // 失败的用户
}

type UpdateChatPin

type UpdateChatPin struct {
	IsFixed      *bool         `json:"is_fixed,omitempty"`       // 置顶是否被固定到置顶列表前方,目前每个群内最多可以固定一个置顶。
	UpdateUrlPin *UpdateUrlPin `json:"update_url_pin,omitempty"` //
}

type UpdateChatPinBuilder

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

func NewUpdateChatPinBuilder

func NewUpdateChatPinBuilder() *UpdateChatPinBuilder

func (*UpdateChatPinBuilder) Build

func (builder *UpdateChatPinBuilder) Build() *UpdateChatPin

func (*UpdateChatPinBuilder) IsFixed

func (builder *UpdateChatPinBuilder) IsFixed(isFixed bool) *UpdateChatPinBuilder

置顶是否被固定到置顶列表前方,目前每个群内最多可以固定一个置顶。

示例值:

func (*UpdateChatPinBuilder) UpdateUrlPin

func (builder *UpdateChatPinBuilder) UpdateUrlPin(updateUrlPin *UpdateUrlPin) *UpdateChatPinBuilder

示例值:

type UpdateUrlPin

type UpdateUrlPin struct {
	Icon      *ChatPinIcon `json:"icon,omitempty"`       // 图标信息
	Title     *string      `json:"title,omitempty"`      // 名称
	I18nTitle *I18nNames   `json:"i18n_title,omitempty"` // 国际化名称,如果客户端语言环境对应的i18n_title存在则会被优先展示,否则展示title。
}

type UpdateUrlPinBuilder

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

func NewUpdateUrlPinBuilder

func NewUpdateUrlPinBuilder() *UpdateUrlPinBuilder

func (*UpdateUrlPinBuilder) Build

func (builder *UpdateUrlPinBuilder) Build() *UpdateUrlPin

func (*UpdateUrlPinBuilder) I18nTitle

func (builder *UpdateUrlPinBuilder) I18nTitle(i18nTitle *I18nNames) *UpdateUrlPinBuilder

国际化名称,如果客户端语言环境对应的i18n_title存在则会被优先展示,否则展示title。

示例值:

func (*UpdateUrlPinBuilder) Icon

func (builder *UpdateUrlPinBuilder) Icon(icon *ChatPinIcon) *UpdateUrlPinBuilder

图标信息

示例值:

func (*UpdateUrlPinBuilder) Title

func (builder *UpdateUrlPinBuilder) Title(title string) *UpdateUrlPinBuilder

名称

示例值:待办事项

type UrgentCommonHeader

type UrgentCommonHeader struct {
}

type UrgentCommonHeaderBuilder

type UrgentCommonHeaderBuilder struct {
}

func NewUrgentCommonHeaderBuilder

func NewUrgentCommonHeaderBuilder() *UrgentCommonHeaderBuilder

func (*UrgentCommonHeaderBuilder) Build

type UrlPin

type UrlPin struct {
	Url                *string      `json:"url,omitempty"`                  // url
	Icon               *ChatPinIcon `json:"icon,omitempty"`                 //
	Title              *string      `json:"title,omitempty"`                // 名称
	I18nTitle          *I18nNames   `json:"i18n_title,omitempty"`           // 国际化名称,如果客户端语言环境对应的i18n_title存在则会被优先展示,否则展示title。
	TitleDynamicUpdate *bool        `json:"title_dynamic_update,omitempty"` // 标题是否需要动态更新
	IconDynamicUpdate  *bool        `json:"icon_dynamic_update,omitempty"`  // 图标是否需要动态更新
}

type UrlPinBuilder

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

func NewUrlPinBuilder

func NewUrlPinBuilder() *UrlPinBuilder

func (*UrlPinBuilder) Build

func (builder *UrlPinBuilder) Build() *UrlPin

func (*UrlPinBuilder) I18nTitle

func (builder *UrlPinBuilder) I18nTitle(i18nTitle *I18nNames) *UrlPinBuilder

国际化名称,如果客户端语言环境对应的i18n_title存在则会被优先展示,否则展示title。

示例值:

func (*UrlPinBuilder) Icon

func (builder *UrlPinBuilder) Icon(icon *ChatPinIcon) *UrlPinBuilder

示例值:

func (*UrlPinBuilder) IconDynamicUpdate

func (builder *UrlPinBuilder) IconDynamicUpdate(iconDynamicUpdate bool) *UrlPinBuilder

图标是否需要动态更新

示例值:false

func (*UrlPinBuilder) Title

func (builder *UrlPinBuilder) Title(title string) *UrlPinBuilder

名称

示例值:待办事项

func (*UrlPinBuilder) TitleDynamicUpdate

func (builder *UrlPinBuilder) TitleDynamicUpdate(titleDynamicUpdate bool) *UrlPinBuilder

标题是否需要动态更新

示例值:false

func (*UrlPinBuilder) Url

func (builder *UrlPinBuilder) Url(url string) *UrlPinBuilder

url

示例值:https://open.feishu.cn/

type UserOpenAppFeedCardDeleter

type UserOpenAppFeedCardDeleter struct {
	BizId  *string `json:"biz_id,omitempty"`  // 业务 ID
	UserId *string `json:"user_id,omitempty"` // 用户 ID
}

type UserOpenAppFeedCardDeleterBuilder

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

func NewUserOpenAppFeedCardDeleterBuilder

func NewUserOpenAppFeedCardDeleterBuilder() *UserOpenAppFeedCardDeleterBuilder

func (*UserOpenAppFeedCardDeleterBuilder) BizId

业务 ID

示例值:ed381d34-49ac-4876-8d9e-23447acb587e

func (*UserOpenAppFeedCardDeleterBuilder) Build

func (*UserOpenAppFeedCardDeleterBuilder) UserId

用户 ID

示例值:

type UserOpenAppFeedCardUpdater

type UserOpenAppFeedCardUpdater struct {
	AppFeedCard  *OpenAppFeedCard `json:"app_feed_card,omitempty"` // 应用消息卡片
	UserId       *string          `json:"user_id,omitempty"`       // 用户 id
	UpdateFields []string         `json:"update_fields,omitempty"` // 更新字段列表
}

type UserOpenAppFeedCardUpdaterBuilder

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

func NewUserOpenAppFeedCardUpdaterBuilder

func NewUserOpenAppFeedCardUpdaterBuilder() *UserOpenAppFeedCardUpdaterBuilder

func (*UserOpenAppFeedCardUpdaterBuilder) AppFeedCard

应用消息卡片

示例值:

func (*UserOpenAppFeedCardUpdaterBuilder) Build

func (*UserOpenAppFeedCardUpdaterBuilder) UpdateFields

func (builder *UserOpenAppFeedCardUpdaterBuilder) UpdateFields(updateFields []string) *UserOpenAppFeedCardUpdaterBuilder

更新字段列表

示例值:

func (*UserOpenAppFeedCardUpdaterBuilder) UserId

用户 id

示例值:

type V2

type V2 struct {
	AppFeedCard          *appFeedCard          // app_feed_card
	AppFeedCardBatch     *appFeedCardBatch     // app_feed_card.batch
	BizEntityTagRelation *bizEntityTagRelation // biz_entity_tag_relation
	ChatButton           *chatButton           // chat_button
	FeedCard             *feedCard             // feed_card
	Tag                  *tag                  // tag
	UrlPreview           *urlPreview           // url_preview
}

func New

func New(config *larkcore.Config) *V2

Jump to

Keyboard shortcuts

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