Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.46 KB

voice-react-native-sdk.callmessage_interface.md

File metadata and controls

22 lines (14 loc) · 1.46 KB

Home > @twilio/voice-react-native-sdk > CallMessage

CallMessage interface

The constituent values of a Call Message.

Signature:

export interface CallMessage 

Properties

Property Type Description
content any The content of the message. This value should match the content type parameter.See CallMessage.contentType for more information.
contentType? string (Optional) The content type of the message. This value should accurately describe the content of the message. The following values are accepted:- "application/json"If no value is defined, then the default value of "application/json" will be used.If the contentType of the message is "application/json", the content of the message may be a JS object.
messageType string The message type. The following values are accepted:- "user-defined-message"