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

    Interface RuntimeMessage

    interface RuntimeMessage {
        from: string;
        sender: string;
        body: string;
        type: string;
        isGroup: boolean;
        reply(text: string, opts?: ReplyOptions): Promise<unknown>;
        user?: UserData;
        lang?: string;
        t?(key: string, params?: TranslateParams): string;
        sharedLocation?: InboundLocation;
    }
    Index
    from: string
    sender: string
    body: string
    type: string
    isGroup: boolean
    user?: UserData

    Sender profile when the message came through a Bot (userOf(ctx) gives a non-optional handle).

    lang?: string

    Resolved language when the message came through a Bot (see MessageContext.lang).

    sharedLocation?: InboundLocation

    Normalized shared location, when the message is one (see MessageContext.sharedLocation).