AppTexChat class
Methods
-
deleteChat(String chatRoomId)
→ Future<void>
-
-
deleteMessage(String roomId, String messageId)
→ Future<void>
-
-
initChat({required ChatUserModel currentUser})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sendCustomMessage(MessageModel messageModel, String message)
→ Future<String?>
-
It will return messageId so that you can update your customMessage
-
sendImage(File file)
→ Future<void>
-
-
sendTextMessage(String text)
→ Future<void>
-
-
sendVoiceMessage(File file)
→ Future<void>
-
-
startNewConversationWith(ChatUserModel userModel, {String? initialMessage})
→ Future<ConversationModel>
-
startNewConversationWith method will initialize current user caht with provided user
it is Future<ConversationModel> method so controll your navigation also show some loading in the ui if needed
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateConversation(String roomId, Map<String, dynamic> fields)
→ Future<void>
-
-
updateCustomMessage(String id, String message, MessageModel model)
→ Future<void>
-
-
updateExistingMessage(String roomId, String messageId, Map<String, dynamic> fields)
→ Future<void>
-