Sending Message Body
class SendingMessageBody(val id: String, val method: String, val params: ParamRequest, val jsonrpc: String = "2.0")
A data class the represents the structure of every message received via the socket connection
Parameters
id
a string ID that identifies each message that is sent
method
the Telnyx Message Method - ie. INVITE, BYE, MODIFY, etc.
params
the parameters that accompany each message, these are represented in ParamRequest and can be Login, Call, Bye or Modify related