zendesk-messaging-client
    Preparing search index...

    Type Alias MessageWritable

    type MessageWritable = {
        activity?: ActivityMessageWritable & { type?: "message" };
        author?: AuthorWritable;
        content?: ContentWritable & { type?: "message" };
        deleted?: boolean | null;
        id?: string;
        metadata?: Metadata | null;
        quotedMessage?: QuotedMessageWritable & { type?: "message" } | null;
        received?: string;
        source?: Source;
    }
    Index

    Properties

    activity?: ActivityMessageWritable & { type?: "message" }

    Details of the system activity that generated this message. This field is used when actions taken by the system generate a persisted message to notify the user or agent of an event that occurred. For example, when a user's Ticket gets closed. This property applies only to informational text messages generated via system events.

    content?: ContentWritable & { type?: "message" }

    The content of the message.

    deleted?: boolean | null

    true if the message serves as a placeholder for one that has been deleted.

    id?: string

    The unique ID of the message.

    metadata?: Metadata | null
    quotedMessage?: QuotedMessageWritable & { type?: "message" } | null

    The quoted message is currently only available for WhatsApp and Web Messenger formResponse messages.

    received?: string

    A datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing when Sunshine Conversations received the message.

    source?: Source