Message
interface Message
Representation of a Conversations Message object.
Types
Link copied to clipboard
enum UpdateReason
Indicates reason for message update.
Functions
Link copied to clipboard
Returns AggregatedDeliveryReceipt for the message.
Link copied to clipboard
Returns all media attachments, except email body/history attachments.
Link copied to clipboard
Retrieve attributes associated with this message.
Link copied to clipboard
Link copied to clipboard
Returns unique identifier for ContentTemplate for this message.
Link copied to clipboard
Returns the parent conversation this message belongs to.
Link copied to clipboard
Returns the conversation SID of the conversation this message belongs to.
Link copied to clipboard
The creation date for this message.
Link copied to clipboard
The creation timestamp for this message.
Link copied to clipboard
The timestamp when this message was updated last time.
Link copied to clipboard
The Date when this message was updated last time.
Link copied to clipboard
abstract fun getDetailedDeliveryReceiptList(listener: CallbackListener<List<DetailedDeliveryReceipt>>)
Link copied to clipboard
Returns email body attachment for the "text/plain" content type.
Returns email body attachment of specific content type.
Link copied to clipboard
Returns email history attachment for the "text/plain" content type.
Returns email history attachment of specific content type.
Link copied to clipboard
Returns the identity of the user who updated the message.
Link copied to clipboard
Returns a (possibly empty) List of media matching a specific set of categories.
Link copied to clipboard
Returns the index number for this message.
Link copied to clipboard
Returns the participant this message was sent by.
Link copied to clipboard
Returns the participant SID of the participant this message was sent by.
Link copied to clipboard
The subject for this message.
Link copied to clipboard
abstract fun getTemporaryContentUrlsForAttachedMedia(listener: CallbackListener<Map<String, String>>): CancellationToken
Get content URLs for all attached media returned by getAttachedMedia using single network request.
Link copied to clipboard
abstract fun getTemporaryContentUrlsForMedia(media: List<Media>, listener: CallbackListener<Map<String, String>>): CancellationToken
Get content URLs for all media attachments in the given set using single network request.
Link copied to clipboard
abstract fun getTemporaryContentUrlsForMediaSids(mediaSids: List<String>, listener: CallbackListener<Map<String, String>>): CancellationToken
Get content URLs for all media attachments in the given set using single network request.
Link copied to clipboard
Set attributes associated with this message.
Link copied to clipboard
Updates the body for a message.