sendTypingGoneStatus static method
Sends a typing-gone status to the specified recipient.
This method is used to indicate that the user has stopped typing in a chat conversation.
The toJid
parameter specifies the JID of the recipient.
The chatType
parameter specifies the type of chat, such as "chat" for one-to-one chat
or "groupchat" for group chat.
Returns a Future<void>
that completes when the typing-gone status is sent successfully.
Example:
await Mirrorfly.sendTypingGoneStatus(toJid: 'example@domain.com', chatType: 'single');
Implementation
static sendTypingGoneStatus(
{required String toJid, required String chatType}) {
return FlyChatFlutterPlatform.instance
.sendTypingGoneStatus(toJid, chatType);
}