ReceivedMessageBody

data class ReceivedMessageBody(val method: String, val result: ReceivedResult?)

A data class the represents the structure of every message received via the socket connection

Parameters

method

the Telnyx Message Method - ie. INVITE, BYE, MODIFY, etc.

result

the content of the actual message in the structure provided via ReceivedResult

See also

Constructors

Link copied to clipboard
constructor(method: String, result: ReceivedResult?)

Properties

Link copied to clipboard
Link copied to clipboard