MessageResult

sealed class MessageResult<T : BaseMessage>

A result class for BaseChannel.resendUserMessage, BaseChannel.sendUserMessage.

Since

4.15.0

Inheritors

Types

Link copied to clipboard
data class Failure<T : BaseMessage>(val failedMessage: T, val e: SendbirdException) : MessageResult<T>

Contains result that the request was failed.

Link copied to clipboard
data class Pending<T : BaseMessage>(val message: T) : MessageResult<T>

Contains pending result.

Link copied to clipboard
data class Success<T : BaseMessage>(val message: T) : MessageResult<T>

Contains result that the request was successful.