Base Message List View Model
Constructors
Functions
Link copied to clipboard
Tries to connect Sendbird Server and retrieve a channel instance.
Link copied to clipboard
Processes a list of messages to be passed to the view.
Link copied to clipboard
Deletes a message.
Link copied to clipboard
Returns LiveData that can be observed for suggested information from mention.
Link copied to clipboard
Returns LiveData that can be observed for the list of messages.
Link copied to clipboard
Determine whether the data on the previous page exists.
Link copied to clipboard
Loads the list of members whose nickname starts with startWithFilter.
Link copied to clipboard
Resends a message to the channel.
Link copied to clipboard
Sends a file message to the channel.
Link copied to clipboard
open fun sendMultipleFilesMessage(@NonNull fileInfos: List<FileInfo>, @NonNull params: MultipleFilesMessageCreateParams)
Sends multiple files message to the channel.
Link copied to clipboard
Sends a text message to the channel.
Link copied to clipboard
open fun toggleReaction(@NonNull view: View, @NonNull message: BaseMessage, @NonNull key: String, @Nullable handler: OnCompleteHandler)
Adds the reaction with
key
if the current user doesn't add it, otherwise the reaction will be deletedLink copied to clipboard
open fun updateUserMessage(messageId: Long, @NonNull params: UserMessageUpdateParams, @Nullable handler: OnCompleteHandler)
Updates a text message with
messageId
.