whatsapp-api-js - v6.1.0
    Preparing search index...

    Type Alias PostDataMessageField

    type PostDataMessageField = {
        field: "messages";
        value:
            | { contacts?: [ServerContacts]; messages: [ServerMessage] }
            | {
                statuses: [
                    {
                        biz_opaque_callback_data?: string;
                        id: string;
                        recipient_id: string;
                        status: ServerStatus;
                        timestamp: string;
                    } & (
                        | {
                            conversation?: ServerConversation;
                            errors: undefined;
                            pricing: ServerPricing;
                        }
                        | {
                            conversation: undefined;
                            errors: [ServerError];
                            pricing: undefined;
                        }
                    ),
                ];
            };
    }
    Index

    Properties

    Properties

    field: "messages"
    value:
        | { contacts?: [ServerContacts]; messages: [ServerMessage] }
        | {
            statuses: [
                {
                    biz_opaque_callback_data?: string;
                    id: string;
                    recipient_id: string;
                    status: ServerStatus;
                    timestamp: string;
                } & (
                    | {
                        conversation?: ServerConversation;
                        errors: undefined;
                        pricing: ServerPricing;
                    }
                    | { conversation: undefined; errors: [ServerError]; pricing: undefined }
                ),
            ];
        }