Documentation ¶
Index ¶
- type Bot
- func (b *Bot) CallApi(action string, param interface{}) gjson.Result
- func (b *Bot) Do(i interface{})
- func (b *Bot) GetResponse(echo string) ([]byte, error)
- func (b *Bot) GetSelfId() int64
- func (b *Bot) SendGroupMsg(groupID int64, message interface{}) int32
- func (b *Bot) SendPrivateMsg(userID int64, message interface{}) int32
- type Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
Bot @Description: Bot对象
func (*Bot) CallApi ¶
CallApi
@Description: * @receiver b * @param action * @param param * @return gjson.Result
func (*Bot) SendGroupMsg ¶
SendGroupMsg
@Description: * @receiver b * @param groupID * @param message * @return int32
func (*Bot) SendPrivateMsg ¶
SendPrivateMsg
@Description: * @receiver b * @param userID * @param message * @return int32
Click to show internal directories.
Click to hide internal directories.