Docs / Cli

smallforce social inbox messages send

Send text, an attachment, quick replies, buttons, a template, or an interactive payload

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce social inbox messages send --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce social inbox messages send [options] <conversationId>

Send text, an attachment, quick replies, buttons, a template, or an interactive payload

Arguments:
  conversationId            Conversation id from inbox conversations list

Options:
  --message <text>          Message text
  --attachment-url <url>    Public attachment URL
  --attachment-name <name>  Attachment filename
  --attachment-type <type>  image, video, audio, or file
  --reply-to <messageId>    Provider message id being replied to
  --voice-note              Send an audio attachment as a voice note
  --quick-reply <json>      Quick-reply object; repeatable (default: [])
  --button <json>           Button object; repeatable (default: [])
  --template <json>         Provider template object
  --interactive <json>      Provider interactive-message object
  --api-key <key>           SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>       SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                    Print stable machine-readable JSON
  --text                    Print human-readable text
  --format <format>         Output format: text or json
  -h, --help                display help for command