Sunco Send Compound Message

Sends a rich message with an image and link buttons in a Sunshine Conversations (Sunco) chat. Use it for product recommendations or similar interactive replies.

What it does

  • Posts a message with text, an image and clickable buttons to the conversation.
  • Each button links to the URI you provide.
  • Returns whether the message was sent.

Notes

  • Buttons and Button URIs must align: one URI per button, in the same order.

Inputs

NameTypeDescription
API TokenString (sensitive)Sunco API token
MessageStringMessage to be sent
Image URLStringImage URL
ButtonsListList of buttons
App IDStringSunco App ID
Conversation IDStringSunco conversation id
Bot NameStringchatbots name
Bot Avatar UrlStringURL for chatbot avatar Possible values: normal, private.

Outputs

NameTypeDescription
SuccessBooleanWhether the message was successfully sent

Notes

API reference