/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { GoogleProtobufAny } from './google-protobuf-any';
import { WebitelImApiGatewayV1Document } from './webitel-im-api-gateway-v1-document';
import { WebitelImApiGatewayV1Image } from './webitel-im-api-gateway-v1-image';
import { WebitelImApiGatewayV1MessageParticipant } from './webitel-im-api-gateway-v1-message-participant';
/**
 * HistoryMessage represents a single message in thread history.
 * @export
 * @interface WebitelImApiGatewayV1HistoryMessage
 */
export interface WebitelImApiGatewayV1HistoryMessage {
    /**
     * Message body content.
     * @type {string}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    body?: string;
    /**
     * Message creation timestamp (Unix time, milliseconds).
     * @type {string}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    created_at?: string;
    /**
     * List of document attachments.
     * @type {Array<WebitelImApiGatewayV1Document>}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    documents?: Array<WebitelImApiGatewayV1Document>;
    /**
     * Unique message identifier.
     * @type {string}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    id?: string;
    /**
     * List of image attachments.
     * @type {Array<WebitelImApiGatewayV1Image>}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    images?: Array<WebitelImApiGatewayV1Image>;
    /**
     * Arbitrary message metadata. Can contain structured data depending on message type.
     * @type {{ [key: string]: GoogleProtobufAny; }}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    metadata?: {
        [key: string]: GoogleProtobufAny;
    };
    /**
     *
     * @type {WebitelImApiGatewayV1MessageParticipant}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    sender?: WebitelImApiGatewayV1MessageParticipant;
    /**
     * Identifier of the thread the message belongs to.
     * @type {string}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    thread_id?: string;
    /**
     * Message type identifier.
     * @type {number}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    type?: number;
    /**
     * Message last update timestamp (Unix time, milliseconds).
     * @type {string}
     * @memberof WebitelImApiGatewayV1HistoryMessage
     */
    updated_at?: string;
}
//# sourceMappingURL=webitel-im-api-gateway-v1-history-message.d.ts.map