KarinJS / kritor

新时代统一的聊天机器人应用接口标准
62 stars 4 forks source link

Feat: 好友添加通知事件 #13

Closed shijinn520 closed 2 months ago

shijinn520 commented 2 months ago
ob11: 字段名 数据类型 可能的值 说明
time number (int64) - 事件发生的时间戳
self_id number (int64) - 收到事件的机器人 QQ 号
post_type string notice 上报类型
notice_type string friend_add 通知类型
user_id number (int64) - 新添加好友 QQ 号

icqq:

/** 好友增加 */
export interface FriendIncreaseEvent extends FriendNoticeEvent {
    sub_type: "increase";
    /** 好友昵称 */
    nickname: string;
}