setTyping method

Future<void> setTyping(
  1. bool isTyping, {
  2. int? timeout,
})

This tells the server that the user is typing for the next N milliseconds where N is the value specified in the timeout key. Alternatively, if typing is false, it tells the server that the user has stopped typing.

Implementation

Future<void> setTyping(bool isTyping, {int? timeout}) =>
    client.setTyping(client.userID!, id, isTyping, timeout: timeout);