Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *gorm.DB Bots = make([]*Onebot, 0) )
Functions ¶
This section is empty.
Types ¶
type ActionParams ¶
type ActionParams struct { GroupID int `json:"group_id"` Message []Message `json:"message"` AutoEscape bool `json:"auto_escape"` MessageType string `json:"message_type"` MessageID int `json:"message_id"` ID string `json:"id"` UserID int64 `json:"user_id"` Times int `json:"times"` Duration int `json:"duration"` Enable bool `json:"enable"` Card string `json:"card"` GroupName string `json:"group_name"` IsDismiss bool `json:"is_dismiss"` Flag string `json:"flag"` Approve bool `json:"approve"` Remark string `json:"remark"` Nickname string `json:"nickname"` }
type ActionRequest ¶
type ActionRequest struct { Action string `json:"action"` Params ActionParams `json:"params"` }
type BotFriendMessage ¶
type FriendList ¶
type FriendMessage ¶
type FriendSubMessage ¶
type Message ¶
type Message struct { Type string `json:"type"` Data MessageData `json:"data"` }
type MessageData ¶
type MessageResponse ¶
Click to show internal directories.
Click to hide internal directories.