cqMessage

package
v0.0.0-...-d539b93 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CQCodeNode

type CQCodeNode struct {
	Type string
	Data map[string]string
}

func ParseCQCode

func ParseCQCode(code string) *CQCodeNode

type CQMessageType

type CQMessageType string
const (
	CQ_MESSAGE_TYPE_TEXT   CQMessageType = "text"
	CQ_MESSAGE_TYPE_FACE   CQMessageType = "face"
	CQ_MESSAGE_TYPE_RECORD CQMessageType = "record"
	CQ_MESSAGE_TYPE_VIDEO  CQMessageType = "video"
	CQ_MESSAGE_TYPE_AT     CQMessageType = "at"
	CQ_MESSAGE_TYPE_RPS    CQMessageType = "rps"
	CQ_MESSAGE_TYPE_DICE   CQMessageType = "dice"
	CQ_MESSAGE_TYPE_MUSIC  CQMessageType = "music"
	CQ_MESSAGE_TYPE_IMAGE  CQMessageType = "image"
	CQ_MESSAGE_TYPE_REPLY  CQMessageType = "reply"
)

Jump to

Keyboard shortcuts

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