Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GifResult ¶
type GifResult struct { URL string `json:"url"` // gif完整路径 // option Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` }
gif 结果
type InlineQuery ¶
type InlineQueryResult ¶
type InlineQueryResult struct { InlineQuerySID string `json:"inline_query_sid"` // 结果类型 Type ResultType `json:"type"` // 结果ID ID string `json:"id"` Results []map[string]interface{} `json:"results,omitempty"` NextOffset string `json:"next_offset,omitempty"` }
func (*InlineQueryResult) Check ¶
func (i *InlineQueryResult) Check() error
type Manager ¶
func NewManager ¶
type MessageReq ¶
type RobotCMDType ¶
type RobotCMDType string
机器人命令类型
const ( None RobotCMDType = "none" Inline RobotCMDType = "inline" Link RobotCMDType = "link" )
type RobotStatus ¶
type RobotStatus int
机器人状态
const ( Enable RobotStatus = 1 DisEnable RobotStatus = 0 )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.