Title

Global

Members

# BotConnectivity

机器人连接状态

View Source src/objects/Event.ts, line 70

# BotEventType

与机器人有关的事件

View Source src/objects/Event.ts, line 5

# GroupMemberEventType

群成员事件

View Source src/objects/Event.ts, line 45

string

# readonly GroupPermission

群成员权限

View Source src/objects/GroupPermission.ts, line 8

# GroupPolicyEventType

群管理事件

View Source src/objects/Event.ts, line 33

string

# readonly InteractMessageType

戳一戳动作类型

View Source src/objects/Message.ts, line 82

string

# readonly MessageContentType

消息内容类型

View Source src/objects/Message.ts, line 23

# MessageEventType

消息撤回事件

View Source src/objects/Event.ts, line 23

string

# MessageType

消息类型

View Source src/objects/Message.ts, line 7

string

# RequestType

请求事件类型

View Source src/objects/Event.ts, line 61

number

# StatusCode

操作状态码

View Source src/objects/StatusCode.ts, line 7

# StatusCode[undefined]

成功

View Source src/objects/StatusCode.ts, line 10

# StatusCode[undefined]

验证失败

View Source src/objects/StatusCode.ts, line 12

# StatusCode[undefined]

找不到机器人

View Source src/objects/StatusCode.ts, line 14

# StatusCode[undefined]

会话无效

View Source src/objects/StatusCode.ts, line 16

# StatusCode[undefined]

会话未绑定到机器人

View Source src/objects/StatusCode.ts, line 18

# StatusCode[undefined]

操作目标不存在

View Source src/objects/StatusCode.ts, line 20

# StatusCode[undefined]

文件未找到

View Source src/objects/StatusCode.ts, line 22

# StatusCode[undefined]

没有权限

View Source src/objects/StatusCode.ts, line 24

# StatusCode[undefined]

机器人被禁言

View Source src/objects/StatusCode.ts, line 26

# StatusCode[undefined]

消息过长

View Source src/objects/StatusCode.ts, line 28

# StatusCode[undefined]

请求不合法

View Source src/objects/StatusCode.ts, line 30

number

# XmlCardControl

XML 卡片的控件(转发、收藏)

View Source src/objects/XmlCard.ts, line 39

Methods

# escapeMirai(str) → {string}

将字符串转换成 Mirai 码兼容的形式
Parameters:
Name Type Description
str string 需要被转换的字符串

View Source src/utils/TextUtils.ts, line 8

转换后的字符串
string

Type Definitions

object

# GroupMember

群成员信息
Properties:
Name Type Description
id number

View Source src/objects/GroupMember.ts, line 4