Options
Menu

Interface Message

A Call Message represents the data that is being transferred between Twilio and the SDK.

Hierarchy

  • Message

Index

Properties

content

content: any

The content of the message which should match the contentType parameter.

Optional contentType

contentType: undefined | string

The MIME type of the content. The default value is application/json and is the only contentType that is supported at the moment.

messageType

messageType: MessageType

The type of message

Optional voiceEventSid

voiceEventSid: undefined | string

An autogenerated id that uniquely identifies the instance of this message. This is not required when sending a message from the SDK as this is autogenerated. But it will be available after the message is sent, or when a message is received.

Generated using TypeDoc