OneSDK — OneComme 9.2.0-beta.6
    Preparing search index...

    Interface EventPayload

    コメントとして流れないプラットフォームイベント(Twitch レイド・視聴継続、 ニコ生の通知等)を通知設定に依存せずテンプレートへ届けるためのペイロード。

    interface EventPayload {
        event: CommentEvent;
        id: string;
        message: string;
        service: Pick<Service, "id" | "name" | "url" | "color">;
        serviceType: keyof ServiceList;
        timestamp: string;
        user?: { name: string; screenName?: string; userId: string };
    }
    Index

    Properties

    id: string
    message: string
    service: Pick<Service, "id" | "name" | "url" | "color">
    serviceType: keyof ServiceList
    timestamp: string
    user?: { name: string; screenName?: string; userId: string }