/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ReceiveMessageRequestAttachmentsInner } from './receive-message-request-attachments-inner'; /** * * @export * @interface ReceiveMessageRequest */ export interface ReceiveMessageRequest { /** * The ID of the message * @type {string} */ 'id': string; /** * The channel ID as in the provider * @type {string} */ 'channel_id': string; /** * The ID of the provider\'s user that sent the message * @type {string} */ 'sender_id': string; /** * The ID of the conversation * @type {string} */ 'conversation_id': string; /** * The body of the message * @type {string} */ 'message': string; /** * The status of the message * @type {string} */ 'status': ReceiveMessageRequestStatusConst; /** * The date and time when the message was created in the provider, in UTC. Format: YYYY-MM-DD HH:MM * @type {string} */ 'created_at': string; /** * The date and time when the message can no longer receive a reply, in UTC. Format: YYYY-MM-DD HH:MM * @type {string} */ 'reply_by'?: string; /** * A URL that can open the conversation in the provider\'s side * @type {string} */ 'conversation_link'?: string; /** * The list of attachments available in the message * @type {Array} */ 'attachments'?: Array; } export declare const ReceiveMessageRequestStatusConst: { readonly sent: "sent"; readonly delivered: "delivered"; readonly read: "read"; readonly failed: "failed"; }; export type ReceiveMessageRequestStatusConst = typeof ReceiveMessageRequestStatusConst[keyof typeof ReceiveMessageRequestStatusConst];