Skip to main content

TelnyxMessage

This class is used to represent a message received from the Telnyx Socket. It contains a socketMethod which is a string representing the type of message received and a ReceivedMessage which contains the message data.

Socket Methods

The socket method can be one of the following:

ReceivedMessage

The received message contains the data of the message received from the Telnyx Socket. It will contain the actual message as well as the state of the Call, client and SDK.