setOnGoingChatUser static method

dynamic setOnGoingChatUser({
  1. required String jid,
})

Sets the ongoing chat user for the current session.

This method sets the ongoing chat user for the current session by providing the unique identifier (JID) of the user.

The jid parameter is the unique identifier of the chat user. or set Empty String to no user in ongoing chat page

Implementation

static setOnGoingChatUser({required String jid}) {
  return FlyChatFlutterPlatform.instance.setOnGoingChatUser(jid);
}