Interface FriendOnlineStatusEvent

好友在线状态变更通知

interface FriendOnlineStatusEvent {
    battery_status?: number;
    custom_status?: {
        face_id: number;
        face_type: number;
        wording: string;
    };
    ext_status?: number;
    friend: Friend;
    music_info?: Proto;
    notice_type: "friend";
    post_type: "notice";
    proto: Proto;
    status: number;
    sub_type: "online_status";
    term_desc?: string;
    uid: string;
    user_id: number;
}

Hierarchy (view full)

Properties

battery_status?: number

电量状态

custom_status?: {
    face_id: number;
    face_type: number;
    wording: string;
}

自定义状态

ext_status?: number

扩展状态

friend: Friend

好友对象

music_info?: Proto

听歌状态的原始数据

notice_type
post_type
proto: Proto

原始协议数据(不可枚举)

status: number

在线状态

sub_type
term_desc?: string

终端描述

uid: string

好友 NT uid

user_id: number

对方账号