UikitBaseMessage

Properties

Link copied to clipboard
abstract val createdAt: Long

The created timestamp of the message.

Link copied to clipboard

Checks if the UikitBaseMessage is sent by the current user.

Link copied to clipboard
abstract val isResendable: Boolean

The flag that indicates whether the message is resendable.

Link copied to clipboard
abstract val message: String

The message of the message.

Link copied to clipboard
abstract val messageId: Long

The message id of the message. This is set when the message is sent successfully.

Link copied to clipboard
abstract val requestId: String

The request id of the message. This is used to identify the message when the message is not sent yet (sendingStatus != SendingStatus.SUCCEEDED)

Link copied to clipboard
abstract val sender: ChatSender?

The sender of the message.

Link copied to clipboard
abstract val sendingStatus: <Error class: unknown class>

The sending status of the message.

Link copied to clipboard

The undelivered member count of the message.

Link copied to clipboard
open val uniqueId: String

The unique id of the message. This is set to messageId if the message is sent successfully, otherwise requestId.

Link copied to clipboard
abstract val unreadMemberCount: Int

The unread member count of the message.

Link copied to clipboard
abstract val updatedAt: Long

The updated timestamp of the message.

Functions

Link copied to clipboard

Returns the last message's display message to be shown in the channel list.

Link copied to clipboard

Returns the nickname of the sender or the unknown text if the sender is null.

Link copied to clipboard

Returns the profile url of the sender or an empty string if the sender is null.

Link copied to clipboard

Returns the sent time of the message in date time format.

Link copied to clipboard

Returns the MessageType based on the message.

Link copied to clipboard

Returns the text for the unknown message type.