频道事件

收到频道消息

上报数据

字段类型可能的值说明
post_typestringmessage上报类型
message_typestringguild消息类型
sub_typestringchannel消息子类型
guild_idstring频道ID
channel_idstring子频道ID
user_idstring消息发送者ID
message_idstring消息ID
senderSender发送者
messageMessage消息内容

注: 此处的 Sender 对象为保证一致性, user_iduint64 类型, 并添加了 string 类型的 tiny_id 字段

频道消息表情贴更新

上报数据

字段类型可能的值说明
post_typestringnotice上报类型
notice_typestringmessage_reactions_updated消息类型
guild_idstring频道ID
channel_idstring子频道ID
user_idstring操作者ID
message_idstring消息ID
current_reactions[]ReactionInfo当前消息被贴表情列表

ReactionInfo:

字段类型说明
emoji_idstring表情ID
emoji_indexint32表情对应数值ID
emoji_typeint32表情类型
emoji_namestring表情名字
countint32当前表情被贴数量
clickedboolBOT是否点击

子频道信息更新

上报数据

字段类型可能的值说明
post_typestringnotice上报类型
notice_typestringchannel_updated消息类型
guild_idstring频道ID
channel_idstring子频道ID
user_idstring操作者ID
operator_idstring操作者ID
old_infoChannelInfo更新前的频道信息
new_infoChannelInfo更新后的频道信息

子频道创建

上报数据

字段类型可能的值说明
post_typestringnotice上报类型
notice_typestringchannel_created消息类型
guild_idstring频道ID
channel_idstring子频道ID
user_idstring操作者ID
operator_idstring操作者ID
channel_infoChannelInfo频道信息

子频道删除

上报数据

字段类型可能的值说明
post_typestringnotice上报类型
notice_typestringchannel_destroyed消息类型
guild_idstring频道ID
channel_idstring子频道ID
user_idstring操作者ID
operator_idstring操作者ID
channel_infoChannelInfo频道信息