INPUT_OBJECT

SendMessageInput

Specified the fields required to send new message.

link GraphQL Schema definition

  • input SendMessageInput {
  • # Conversation ID where message should be sent.
  • conversationId: ID
  • # User number from which message should be sent. If not set, the default routing
  • # number will be used.
  • sender: String
  • # Recipient mobile number.
  • mobile: String
  • # Messaging ID of recipient message should be sent to.
  • recipient: String
  • # Content of the message.
  • body: String
  • # List of the media attachments.
  • media: [MessageMediaInput!]
  • # Desired platform to be sent with.
  • platform: Platform!
  • # Indicates if 'vCard' should be sent or not.
  • sendVCard: Boolean
  • # Desired channel to be sent with.
  • channel: Channel
  • }