Chat
A chat instance.
This class allows performing actions over this specific chat like deleting the chat, sending a message or get the message history list
Properties
Functions
Adds a listener to receive chat events.
Archives a one to one chat.
Removes a MUC chat.
Retrieves the last messages available to the current chat. The maximum number of messages to be obtained from the server if available is 15.
Retrieves the messages available to the current chat within the specified query.
Adds a new participant to the current chat.
Adds a list of participants to the current chat.
Sends a special message asking the recipient to join the room associated to the current chat. This method has no effect for individual chats.
Removes a participant from the current chat.
Marks all messages as viewed since the last message received.
Removes the specified listener.
Uploads the file and sends its URI as a message to this chat.
Uploads the file and sends its URI as a message to this chat.
Sends a text message to this chat.
Sets the current state of current chat instance. This method will send an empty Message with the state attached.