Message
interface Message
Content copied to clipboard
Representation of a Conversations Message object.
Types
Update Reason
Link copied to clipboard
enum UpdateReason
Content copied to clipboard
Indicates reason for message update.
Functions
get Aggregated Delivery Receipt
Link copied to clipboard
Returns AggregatedDeliveryReceipt for the message.
get Attached Media
Link copied to clipboard
Returns all media attachments, except email body/history attachments.
get Attributes
Link copied to clipboard
Retrieve attributes associated with this message.
get Conversation
Link copied to clipboard
Returns the parent conversation this message belongs to.
get Conversation Sid
Link copied to clipboard
Returns the conversation SID of the conversation this message belongs to.
get Date Created
Link copied to clipboard
The creation date for this message.
get Date Created As Date
Link copied to clipboard
The creation timestamp for this message.
get Date Updated
Link copied to clipboard
The timestamp when this message was updated last time.
get Date Updated As Date
Link copied to clipboard
The Date when this message was updated last time.
get Detailed Delivery Receipt List
Link copied to clipboard
abstract fun getDetailedDeliveryReceiptList(listener: CallbackListener<List<DetailedDeliveryReceipt>>)
Content copied to clipboard
get Email Body
Link copied to clipboard
Returns email body attachment for the "text/plain" content type.
Returns email body attachment of specific content type.
get Email History
Link copied to clipboard
Returns email history attachment for the "text/plain" content type.
Returns email history attachment of specific content type.
get Last Updated By
Link copied to clipboard
Returns the identity of the user who updated the message.
get Media By Categories
Link copied to clipboard
abstract fun getMediaByCategories(categories: Set<MediaCategory>): List<Media>
Content copied to clipboard
Returns a (possibly empty) List of media matching a specific set of categories.
get Message Index
Link copied to clipboard
Returns the index number for this message.
get Participant
Link copied to clipboard
Returns the participant this message was sent by.
get Participant Sid
Link copied to clipboard
Returns the participant SID of the participant this message was sent by.
get Subject
Link copied to clipboard
The subject for this message.
get Temporary Content Urls For Attached Media
Link copied to clipboard
abstract fun getTemporaryContentUrlsForAttachedMedia(listener: CallbackListener<Map<String, String>>): CancellationToken
Content copied to clipboard
Get content URLs for all attached media returned by getAttachedMedia using single network request.
get Temporary Content Urls For Media
Link copied to clipboard
abstract fun getTemporaryContentUrlsForMedia(media: List<Media>, listener: CallbackListener<Map<String, String>>): CancellationToken
Content copied to clipboard
Get content URLs for all media attachments in the given set using single network request.
get Temporary Content Urls For Media Sids
Link copied to clipboard
abstract fun getTemporaryContentUrlsForMediaSids(mediaSids: List<String>, listener: CallbackListener<Map<String, String>>): CancellationToken
Content copied to clipboard
Get content URLs for all media attachments in the given set using single network request.
set Attributes
Link copied to clipboard
abstract fun setAttributes(attributes: Attributes, listener: StatusListener)
Content copied to clipboard
Set attributes associated with this message.
update Body
Link copied to clipboard
Updates the body for a message.