@webitel/api-services
    Preparing search index...

    HistoryMessage represents a single message in thread history.

    interface WebitelImApiGatewayV1HistoryMessage {
        body?: string;
        contact?: WebitelImApiGatewayV1MessageContact;
        createdAt?: string;
        documents?: WebitelImApiGatewayV1Document[];
        editedAt?: string;
        id?: string;
        images?: WebitelImApiGatewayV1Image[];
        interactive?: WebitelImApiGatewayV1Interactive;
        location?: WebitelImApiGatewayV1MessageLocation;
        metadata?: WebitelImApiGatewayV1HistoryMessageMetadata;
        sender?: WebitelImApiGatewayV1ThreadMember;
        threadId?: string;
        type?: number;
    }
    Index

    Properties

    body?: string

    Message body content.

    createdAt?: string

    Message creation timestamp (Unix time, milliseconds).

    List of document attachments.

    editedAt?: string

    Message last update timestamp (Unix time, milliseconds).

    id?: string

    Unique message identifier.

    List of image attachments.

    Arbitrary message metadata. Can contain structured data depending on message type.

    Sender user aggregated information.

    threadId?: string

    Identifier of the thread the message belongs to.

    type?: number

    Message type identifier.