QNChatRepository
Represents a chat
-
Expose chat type (1-1 or group)
-
Chat identifier (remote user for 1-1 and UUID for group chats)
-
Group actions for group chats like invite a participant or expel one
-
Last message received
-
Count of unread messages
-
Title of chat
-
Image of chat
-
Image URL of chat
-
Chat is associated with a conference
-
Fetch history related to this user, messages are received in delegate
-
-
Send participant action, like typing or active, to remote participant
-
Sends a new message to other participant
-
Send a file to Chat
-
Mark a message with a new status
-
Send a mark with last message read
-
Archive chat
-
Delete chat
-
-