Send Result
Relay.Messaging.SendResult
This object returned from send method that represents the result of a send operation.
Properties
Methods
getMessageId
Returns the ID of the queued message.
Parameters
None
Returns
string - Message ID.
Examples
Send a message and retrieve the ID.
isSuccessful
Return true if the message was queued, false otherwise.
Parameters
None
Returns
boolean - True/False accordingly to the state.
Examples
Send a message and then check if there were errors.