OnSocketMethodReceived
TheOnSocketMethodReceived event handler is a callback function that is called when a message is received from the Telnyx WebSocket connection. The message is passed as a parameter to the callback function.
TelnyxMessage
This class is used to represent a message received from the Telnyx Socket. It contains asocketMethod which is a string representing the type of message received and a ReceivedMessage which contains the message data.