Pin a Recent Chat

To pin a recent chat which makes a particular recent chat to appear at the top of the recent chat list.

JIDStringjid of the user/group
PIN_RECENT_CHATbooleanif true chat will be pinned else the chat will be unpinned

Recent Chat Pinned Count#

To get the pinned count on recent chat list call the below method.

int pinnedCount = FlyCore.recentChatPinnedCount();