Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 2.97 KB

File metadata and controls

25 lines (21 loc) · 2.97 KB

Zernio.Model.SendInboxMessageRequest

Properties

Name Type Description Notes
AccountId string Social account ID
Message string Message text [optional]
AttachmentUrl string URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead. [optional]
AttachmentType string Type of attachment. Defaults to file if not specified. [optional]
AttachmentName string WhatsApp only. Display name for a document sent via attachmentUrl with attachmentType: file (e.g. "Report.pdf"). Maps to the recipient's file name; without it WhatsApp derives the name from the URL and shows "Untitled". Ignored for image/video/audio and for binary uploads (which use the uploaded file's name). [optional]
VoiceNote bool WhatsApp only. When `true` on an audio attachment, the message is sent as a voice message (PTT) — the recipient sees the waveform + voice-note UI instead of a basic audio attachment. The audio file MUST be `.ogg` encoded with the OPUS codec (mono) per Meta's voice-message contract; other formats are rejected by WhatsApp. Ignored for non-audio attachments. [optional]
QuickReplies List<SendInboxMessageRequestQuickRepliesInner> Quick reply buttons. Mutually exclusive with buttons. Max 13 items. [optional]
Buttons List<SendInboxMessageRequestButtonsInner> Action buttons. Mutually exclusive with quickReplies. Max 3 items. [optional]
Template SendInboxMessageRequestTemplate [optional]
Interactive SendInboxMessageRequestInteractive [optional]
ReplyMarkup SendInboxMessageRequestReplyMarkup [optional]
MessagingType string Facebook messaging type. Required when using messageTag. [optional]
MessageTag string Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT. [optional]
ReplyTo string Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID. [optional]
Location SendInboxMessageRequestLocation [optional]
Contacts List<SendInboxMessageRequestContactsInner> WhatsApp-only. Send one or more contact cards. [optional]

[Back to Model list] [Back to API list] [Back to README]