Archive/Unarchive
Archive/Unarchive Settings#
Archive Chats Permanent status can set by enabling/disabling the option.
| Argument | Type | Description |
|---|---|---|
| ENABLE | bool | true to archive the recent chat false to unarchive the recent chat |
| flyCallback | FlyResponse | callback to observe the action status |
Archive Settings Status#
Get Archive Settings Status to keep the archived chats permanent.
info
The archived settings status will be returned either true or false
Archive/Unarchive a recent chat conversation#
Archiving a chat conversation makes the chat not appear in recent chat list, mostly used on chats which are inactive for a long time. Unarchiving a archived recent chat conversation makes the chat conversation appear in recent chat list again.
| Argument | Type | Description |
|---|---|---|
| JID | String | jid of the user/group to Archive/UnArchive |
| ARCHIVE | bool | true to archive the recent chat false to unarchive the recent chat |
| flyCallback | FlyResponse | callback to observe the action status |
Archive Chat Status#
Get Archive Chat Status to check the archived chat.
info
The archived chat status will be returned either true or false
Get List of archived recent chat conversation#
An archived chat won't be listed in recent chat list. To get the list of archived chats call the below method.
- Java
- Response
| Argument | Type | Description |
|---|---|---|
| flyCallback | FlyResponse | callback to observe the action status |