Click or drag to resize

Message Methods

The Message type exposes the following members.

Methods
  NameDescription
Public methodCreateAttachment
Creates an attachment for this message.
Public methodGetDeliveryDetails
Gets MessageDeliveryDetails or error. Delivery details are returned via completion handler.
Public methodGetInitiatorParticipant
Get initiator participant of an event message, such as LEFT message when a participant is removed from conversation by other participant(initiator)
Public methodGetInReplyTo
Gets InReplyToMessage or error if message is not in cache. Message is returned via completion handler.
Public methodMarkAsRead
Marks the message as read.
Public methodRemoveAttachment
Remove a specified attachment from this message.
Public methodReportTyping
Set or clear the "is typing" chat state. This is a "fire and forget" operation.
Public methodSend
Invokes a send request for this message.
Public methodSetBodyAndReportTyping(String, MessageCompletionHandler)
Sets the body of the draft message and the "is typing" chat state.
Public methodSetBodyAndReportTyping(String, String, MessageCompletionHandler)
Sets the plain text body and HTML body of the draft message along with "is typing" chat state.
Public methodSetDoNotForward
Sets a new message "do not forward" state.
Public methodSetImportance
Sets a new message importance.
Public methodSetInReplyTo
Sets the message that the current message is a direct reply to.
Top
See Also