Actions30
- Attachment Actions
- Chat Actions
- Chat Message Actions
- Phone Number Actions
- Webhook Subscription Actions
Chat → Send Voice Memo
AI-generatedSummary
Sends a voice memo to a specified chat, either via a URL or a pre‑uploaded attachment ID.
Inputs
- chatId (required) — The ID of the chat to which the voice memo will be sent.
- voiceMemoUrl — The URL of the voice memo to send; must be a valid HTTP/HTTPS URL.
- voiceMemoAttachmentId — Optional pre‑uploaded Linq attachment ID representing the voice memo.
Output shape
the created voice memo resource
Returns the voice memo object created by the API; throws on validation errors.
Examples
Example 1: Send an existing attachment as a voice memo
chatId: '12345', voiceMemoAttachmentId: 'attach_abc'
Example 2: Send a voice memo from a public URL
chatId: '12345', voiceMemoUrl: 'https://example.com/memo.mp3'