ThreadMessagesViewController class
Methods
-
addCreateMessage(Message message)
→ void
-
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object changes.
inherited
-
changeThreadName(String newName)
→ Future<void>
-
-
createThreadIfNotExits({String? threadName})
→ Future<bool>
-
-
destroyChatThread()
→ Future<void>
-
-
disableMultiSelectMode()
→ void
-
-
dispose()
→ void
-
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
downloadMessage(Message message)
→ Future<void>
-
-
editMessage(Message message, String content)
→ Future<void>
-
-
enableMultiSelectMode()
→ void
-
-
fetchItemList()
→ Future<void>
-
-
insertCreateMessage()
→ Future<void>
-
-
joinThreadIfCan()
→ void
-
-
leaveChatThread()
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
inherited
-
onChatThreadCreate(ChatThreadEvent event)
→ void
-
inherited
-
onChatThreadDestroy(ChatThreadEvent event)
→ void
-
inherited
-
onChatThreadUpdate(ChatThreadEvent event)
→ void
-
override
-
onCmdMessagesReceived(List<Message> messages)
→ void
-
inherited
-
onConversationRead(String from, String to)
→ void
-
inherited
-
onConversationsUpdate()
→ void
-
inherited
-
onGroupMessageRead(List<GroupMessageAck> groupMessageAcks)
→ void
-
inherited
-
onMessageContentChanged(Message message, String operatorId, int operationTime)
→ void
-
override
-
onMessagePinChanged(String messageId, String conversationId, MessagePinOperation pinOperation, MessagePinInfo pinInfo)
→ void
-
inherited
-
onMessageReactionDidChange(List<MessageReactionEvent> events)
→ void
-
override
-
onMessagesDelivered(List<Message> messages)
→ void
-
inherited
-
onMessageSendError(String msgId, Message msg, ChatError error)
→ void
-
override
-
onMessageSendProgress(String msgId, int progress)
→ void
-
inherited
-
onMessageSendSuccess(String msgId, Message msg)
→ void
-
override
-
onMessagesRead(List<Message> messages)
→ void
-
inherited
-
onMessagesRecalled(List<Message> recalled, List<Message> replaces)
→ void
-
inherited
-
onMessagesReceived(List<Message> messages)
→ void
-
override
-
onMessageUpdate(Message newMessage, [Message? oldMessage])
→ void
-
inherited
-
onMessageWillSend(Message msg)
→ void
-
inherited
-
onReadAckForGroupMessageUpdated()
→ void
-
inherited
-
onTyping(List<String> fromUsers)
→ void
-
inherited
-
onUserKickOutOfChatThread(ChatThreadEvent event)
→ void
-
inherited
-
refresh()
→ void
-
-
removeListener(VoidCallback listener)
→ void
-
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
reportMessage({required Message message, required String tag, required String reason})
→ Future<void>
-
-
resendMessage(Message message)
→ Future<void>
-
-
sendCardMessage(ChatUIKitProfile cardProfile)
→ Future<void>
-
-
sendFileMessage(String path, {String? name, int? fileSize})
→ Future<void>
-
-
sendImageMessage(String path, {String? name})
→ Future<void>
-
-
sendMessage(Message message)
→ Future<void>
-
-
sendTextMessage(String text, {Message? replay})
→ Future<void>
-
-
sendVideoMessage(String path, {String? name, double? width, double? height, int? duration})
→ Future<void>
-
-
sendVoiceMessage(String path, int duration, String? displayName)
→ Future<void>
-
-
title(String? title)
→ String?
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
translateMessage(Message message, {bool showTranslate = true})
→ Future<void>
-
-
updatePermission()
→ void
-
-
updateReaction(String messageId, String reaction, bool isAdd)
→ Future<void>
-