ChatRenderer

interface ChatRenderer

Functions

Link copied to clipboard
abstract fun addMessageReaction(messagePubnubToken: Long?, messageId: String?, chatMessageReaction: ChatMessageReaction)
Link copied to clipboard
abstract fun deleteChatMessage(messageId: String)
Link copied to clipboard
abstract fun displayChatMessage(message: LiveLikeChatMessage, currentProfileId: String)
Link copied to clipboard
abstract fun displayChatMessages(messages: List<LiveLikeChatMessage>, currentProfileId: String)

called whenever messages are loaded from history call or at fist time load call

Link copied to clipboard
abstract fun errorSendingMessage(error: Error)
Link copied to clipboard
abstract fun loadingCompleted()
Link copied to clipboard
abstract fun removeMessageReaction(messagePubnubToken: Long?, messageId: String?, emojiId: String, profileId: String?)