Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auinfo ¶
type Auinfo struct { AuNumber string AuStatus bool AuMsg string AuJumpURL string AuCoverURL string AuURL string AuTitle string AuDesp string }
Auinfo includes some basic info of a Au number.
type BotConfig ¶
type BotConfig struct { MasterID []gjson.Result HTTPAPIAddr string HTTPAPIToken string HTTPAPIPostSecret string }
BotConfig includes CQHTTPAPI config.
type MsgInfo ¶
type MsgInfo struct { TimeStamp int64 SenderID string Role string GroupID string Message string MsgType string RobotID string MD5 [16]byte }
MsgInfo includes some basic info about a message.
type Role ¶ added in v1.8.0
Role is the role of message sender.
RoleLevel => RoleName 0 => member 1 => admin 2 => owner 3 => master
type VTBMusicInfo ¶
type VTBMusicInfo struct { MusicName string MusicID string MusicVocal string Cover string MusicURL string MusicCDN string }
VTBMusicInfo includes the info of a music.
type VTBMusicList ¶
VTBMusicList includes the search result.
Click to show internal directories.
Click to hide internal directories.