Documentation
¶
Index ¶
Constants ¶
View Source
const GetBotInfoAPI = "/open-apis/bot/v3/info"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot interface {
GetBotInfo() (resp *GetBotInfoResponse, err error)
}
type GetBotInfoResponse ¶
type GetBotInfoResponse struct { ActivateStatus int `json:"activate_status"` AppName string `json:"app_name"` AvatarURL string `json:"avatar_url"` IPWhiteList []string `json:"ip_white_list"` OpenID string `json:"open_id"` }
func GetBotInfo ¶
func GetBotInfo(client client.Client) (resp *GetBotInfoResponse, err error)
Click to show internal directories.
Click to hide internal directories.