SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    BotChatEvent: Message<"soulfire.v1.BotChatEvent"> & {
        jsonComponent?: string;
        plainText: string;
        receivedAt?: Timestamp;
        senderId?: string;
        senderName?: string;
        source: ChatSource;
    }

    A single chat or system message observed by the bot.

    Type Declaration

    • OptionaljsonComponent?: string

      Original JSON text component for callers that need formatting, colors, click events, or translation keys. Present when available from the server.

      from field: optional string json_component = 3;

    • plainText: string

      Plain-text rendering of the message with formatting codes stripped. Stable across Minecraft versions; suitable for pattern matching.

      from field: string plain_text = 2;

    • OptionalreceivedAt?: Timestamp

      Server-side timestamp at which the message was received.

      from field: google.protobuf.Timestamp received_at = 6;

    • OptionalsenderId?: string

      Sender profile UUID for PLAYER and WHISPER sources, when resolvable.

      from field: optional string sender_id = 5;

    • OptionalsenderName?: string

      Sender display name for PLAYER and WHISPER sources.

      from field: optional string sender_name = 4;

    • source: ChatSource

      Where the message came from.

      from field: soulfire.v1.ChatSource source = 1;

    from message soulfire.v1.BotChatEvent