@getdial/sdk - v0.21.0
    Preparing search index...

    Interface Message

    interface Message {
        body: string;
        channel: string;
        createdAt: string;
        direction: string;
        from: string;
        id: string;
        media: MessageMediaItem[];
        phoneNumberId: string;
        reaction?: string | null;
        replyToId?: string | null;
        status: string;
        statusError?: string | null;
        to: string;
    }
    Index
    body: string
    channel: string
    createdAt: string
    direction: string
    from: string
    id: string

    Media attachments (MMS), in send order. Empty for plain SMS.

    phoneNumberId: string
    reaction?: string | null

    The reaction this message carries (a reaction name or an emoji); null otherwise.

    replyToId?: string | null

    Id of the message this one replies or reacts to; null for ordinary messages.

    status: string
    statusError?: string | null

    A human-readable failure reason, present only when status is undelivered or failed. Null otherwise.

    to: string