@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface SenderInfo

    Base, cross-transport sender fields only. WA-only vocabulary (phoneNumber, lid, isBusiness) and Telegram/Discord extras (languageCode, nickname, roles) live in platformData, NOT as named fields on the shared type.

    interface SenderInfo {
        id: string;
        displayName?: string;
        username?: string;
        isBot?: boolean;
        language?: string;
        platformData?: Record<string, unknown>;
    }
    Index
    id: string
    displayName?: string
    username?: string
    isBot?: boolean
    language?: string

    Language the platform reports for the sender (BCP 47-ish code, e.g. 'en', 'pt-BR'), when it has one. Used by i18n language resolution; providers that only expose it in platformData.languageCode work too.

    platformData?: Record<string, unknown>