Documentation
¶
Index ¶
- type FeishuBot
- func (bot *FeishuBot) AddHandlerChatMemberBotAdded()
- func (bot *FeishuBot) AddHandlerIMMessageReceive()
- func (bot *FeishuBot) AddHandlerP2PChatCreate()
- func (bot *FeishuBot) Build()
- func (bot *FeishuBot) CreateMessageReaction(msgID string, emojiType string) *lark.CreateMessageReactionResp
- func (bot *FeishuBot) DeleteMessageReaction(msgID string, reactionID string)
- func (bot *FeishuBot) GetBotInfo() *lark.GetBotInfoResp
- func (bot *FeishuBot) GetUser(openID string) *lark.GetUserResp
- func (bot *FeishuBot) GetUserList() []*lark.GetUserListRespItem
- func (bot *FeishuBot) ReplyRawMessage(msgID string, msgType string, msg string)
- func (bot *FeishuBot) Runhandler(callbackPath string)
- func (bot *FeishuBot) SendRawMessage(receiveIDType string, receiveID string, msgType string, msg string)
- func (bot *FeishuBot) SendRawMessageToGroup(groupID string, msgType string, msg string)
- func (bot *FeishuBot) SendRawMessageToUser(userID string, msgType string, msg string)
- func (bot *FeishuBot) UploadImage(imageType string, image io.Reader) string
- func (bot *FeishuBot) WithAppInfo(appID string, appSecret string) *FeishuBot
- func (bot *FeishuBot) WithCallBackInfo(encryptKey string, verificationToken string) *FeishuBot
- func (bot *FeishuBot) WithPluginCenter(pc *plugincenter.PluginCenter) *FeishuBot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeishuBot ¶
type FeishuBot struct {
Platform carrota.PlatformType
BotName string
BotID string
// contains filtered or unexported fields
}
func NewFeishuBot ¶
func (*FeishuBot) AddHandlerChatMemberBotAdded ¶
func (bot *FeishuBot) AddHandlerChatMemberBotAdded()
func (*FeishuBot) AddHandlerIMMessageReceive ¶
func (bot *FeishuBot) AddHandlerIMMessageReceive()
func (*FeishuBot) AddHandlerP2PChatCreate ¶
func (bot *FeishuBot) AddHandlerP2PChatCreate()
func (*FeishuBot) CreateMessageReaction ¶
func (bot *FeishuBot) CreateMessageReaction(msgID string, emojiType string) *lark.CreateMessageReactionResp
emoji_list: https://open.feishu.cn/document/server-docs/im-v1/message-reaction/emojis-introduce
func (*FeishuBot) DeleteMessageReaction ¶
func (*FeishuBot) GetBotInfo ¶
func (bot *FeishuBot) GetBotInfo() *lark.GetBotInfoResp
func (*FeishuBot) GetUserList ¶
func (bot *FeishuBot) GetUserList() []*lark.GetUserListRespItem
func (*FeishuBot) ReplyRawMessage ¶
func (*FeishuBot) Runhandler ¶
func (*FeishuBot) SendRawMessage ¶
func (*FeishuBot) SendRawMessageToGroup ¶
func (*FeishuBot) SendRawMessageToUser ¶
func (*FeishuBot) UploadImage ¶
func (*FeishuBot) WithAppInfo ¶
func (*FeishuBot) WithCallBackInfo ¶
func (*FeishuBot) WithPluginCenter ¶
func (bot *FeishuBot) WithPluginCenter(pc *plugincenter.PluginCenter) *FeishuBot
Click to show internal directories.
Click to hide internal directories.