Type Alias BroadcastMessage

BroadcastMessage: {
    channel: string;
    data: any;
    from: UserInfo;
}

Type declaration

  • channel: string

    Typically this is the postId, but you can create your own channels.

  • data: any

    The raw data of the message.

  • from: UserInfo