SendingMessageBody

constructor(id: String, method: String, params: ParamRequest, jsonrpc: String = "2.0")

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