@laplace.live/event-types
    Preparing search index...

    Interface LikeClick

    Like click

    点赞主播事件

    • BilibiliInternal.WebSocket.Prod.LIKE_INFO_V3_CLICK for the original version
    • BilibiliInternal.WebSocket.OpenPlatform.LIVE_OPEN_PLATFORM_LIKE for the Open Platform version
    interface LikeClick {
        avatar: string;
        id: string;
        medal: FansMedal;
        message: string;
        origin: number;
        originIdx: number;
        read: boolean;
        timestamp: number;
        timestampNormalized: number;
        type: "like-click";
        uid: number;
        username: string;
    }
    Index

    Properties

    avatar: string

    官方事件无头像,这个字段是给开放平台用的

    id: string
    medal: FansMedal

    用户当前佩戴的粉丝勋章/粉丝勋章

    message: string

    文案:为主播点赞了

    origin: number
    originIdx: number
    read: boolean
    timestamp: number
    timestampNormalized: number
    type: "like-click"
    uid: number
    username: string

    用户名为空