botstruct

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 1 Imported by: 0

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 {
	HTTPAPIAddr       string
	HTTPAPIToken      string
	HTTPAPIPostSecret string
}

BotConfig includes CQHTTPAPI config.

type MsgInfo

type MsgInfo struct {
	TimeStamp int64
	SenderID  string
	GroupID   string
	Message   string
	MsgType   string
	RobotID   string
	MD5       [16]byte
}

MsgInfo includes some basic info about a message.

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

type VTBMusicList struct {
	Total int64
	Data  []gjson.Result
}

VTBMusicList includes the search result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL