Archive/Unarchive
#
Archive/Unarchive SettingsArchive Chats Permanent status can set by enabling/disabling the option.
- Java
- Kotlin
Argument | Description | Type |
---|---|---|
BOOLEAN | Boolean | true to archive the recent chat false to unarchive the recent chat |
#
Archive Settings StatusGet Archive Settings Status to keep the archived chats permanent.
- Java
- Kotlin
info
The archived settings status will be returned either True
or False
#
Archive/Unarchive a recent chat conversation#
ArchiveArchiving a chat conversation makes the chat not appear in recent chat list, mostly used on chats which are inactive for a long time.
#
UnArchiveUnarchiving a archived recent chat conversation makes the chat conversation appear in recent chat list again.
- Java
- Kotlin
Argument | Description | Type |
---|---|---|
JID | String | jid of the user/group to Archive/UnArchive |
BOOLEAN | Boolean | true to archive the recent chat false to unarchive the recent chat |
#
Get List of archived recent chat conversationAn archived chat won't be listed in recent chat list. To get the list of archived chats call the below method.
- Java
- Kotlin
Argument | Type | Description |
---|---|---|
CALLBACK | FlyCallback | FlyCallback implemented as lambda expression |
info
While user Logging the app, if any chats archived then list will be synced by fetching this method FlyCore.getArchivedChatsFromServer()
the list of Archived JIDs will update into FlyCore.getArchivedChatList()
.