Documentation ¶
Index ¶
- Constants
- type BotJoinChatInfo
- type BotJoinChatReq
- type BotJoinChatReqBody
- type BotJoinChatReqBuilder
- func (builder *BotJoinChatReqBuilder) AppIDs(appIDs []string) *BotJoinChatReqBuilder
- func (builder *BotJoinChatReqBuilder) Build() *BotJoinChatReq
- func (builder *BotJoinChatReqBuilder) ProjectKey(projectKey string) *BotJoinChatReqBuilder
- func (builder *BotJoinChatReqBuilder) WorkItemID(workItemID int64) *BotJoinChatReqBuilder
- func (builder *BotJoinChatReqBuilder) WorkItemTypeKey(workItemTypeKey string) *BotJoinChatReqBuilder
- type BotJoinChatResp
- type ChatService
Constants ¶
View Source
const APIPathBotJoinChat = "/open_api/:project_key/work_item/:work_item_id/bot_join_chat"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotJoinChatInfo ¶
type BotJoinChatReq ¶
type BotJoinChatReq struct {
// contains filtered or unexported fields
}
type BotJoinChatReqBody ¶
type BotJoinChatReqBuilder ¶
type BotJoinChatReqBuilder struct {
// contains filtered or unexported fields
}
func NewBotJoinChatReqBuilder ¶
func NewBotJoinChatReqBuilder() *BotJoinChatReqBuilder
func (*BotJoinChatReqBuilder) AppIDs ¶
func (builder *BotJoinChatReqBuilder) AppIDs(appIDs []string) *BotJoinChatReqBuilder
func (*BotJoinChatReqBuilder) Build ¶
func (builder *BotJoinChatReqBuilder) Build() *BotJoinChatReq
func (*BotJoinChatReqBuilder) ProjectKey ¶
func (builder *BotJoinChatReqBuilder) ProjectKey(projectKey string) *BotJoinChatReqBuilder
func (*BotJoinChatReqBuilder) WorkItemID ¶
func (builder *BotJoinChatReqBuilder) WorkItemID(workItemID int64) *BotJoinChatReqBuilder
func (*BotJoinChatReqBuilder) WorkItemTypeKey ¶
func (builder *BotJoinChatReqBuilder) WorkItemTypeKey(workItemTypeKey string) *BotJoinChatReqBuilder
type BotJoinChatResp ¶
type BotJoinChatResp struct { *core.APIResp `json:"-"` core.CodeError Data *BotJoinChatInfo `json:"data"` }
type ChatService ¶
type ChatService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config *core.Config) *ChatService
func (*ChatService) BotJoinChat ¶
func (a *ChatService) BotJoinChat(ctx context.Context, req *BotJoinChatReq, options ...core.RequestOptionFunc) (*BotJoinChatResp, error)
拉机器人入群
Click to show internal directories.
Click to hide internal directories.