/ SDKs / Flutter
SDKs
Chat SDKs Flutter v4
Chat SDKs Flutter
Chat SDKs
Flutter
Version 4

Send typing indicators to other members

Copy link

If the startTyping() and endTyping() methods are called while the current user is typing a message in a group channel, onTypingStatusUpdated() in the channel event handler is invoked on all channel members' devices except the one that belongs to the user who is currently typing.

try {
  groupChannel.startTyping();
  groupChannel.endTyping();
} catch (e) {
  // Handle error.
}

class MyGroupChannelHandler extends GroupChannelHandler {
  @override
  void onTypingStatusUpdated(GroupChannel channel) {
    // Refresh the typing status of channel members.
  }
}