ChatMessage
Properties
isInteractionEnabled
A boolean value that checks if actions are available on the message (for example edit
, delete
, resend
, etc.).
var isInteractionEnabled: Bool
isLastActionFailed
A boolean value that checks if the last action (send
, edit
or delete
) on the message failed.
var isLastActionFailed: Bool
isRootOfThread
A boolean value that checks if the message is the root of a thread.
var isRootOfThread: Bool
isPartOfThread
A boolean value that checks if the message is part of a thread.
var isPartOfThread: Bool
textContent
The text which should be shown in a text view inside the message bubble.
var textContent: String?
isOnlyVisibleForCurrentUser
A boolean value that checks if the message is visible for current user only.
var isOnlyVisibleForCurrentUser: Bool
lastActiveThreadParticipant
Returns last active thread participant.
var lastActiveThreadParticipant: ChatUser?
isDeleted
A boolean value that says if the message is deleted.
var isDeleted: Bool
shouldRenderAsJumbomoji
A boolean value that determines whether the text message should be rendered as large emojis
var shouldRenderAsJumbomoji: Bool
By default, any string which comprises of ONLY emojis of length 3 or less is displayed as large emoji
Note that for messages sent with attachments, large emojis aren't rendered