typingIndicatorThrottle property

int typingIndicatorThrottle

Implementation

int get typingIndicatorThrottle => _typingIndicatorThrottle;
void typingIndicatorThrottle=(dynamic value)

Sets a term of typing indicator throttling in group channel. After this throttling interval from typing indicator started (or ended), You can re-start (or re-end) typing indicator. If you call start (or end) again in this interval, the call will be ignored. The value should be between 1000 milliseconds and 9000 milliseconds. The default value is 1000 milliseconds.

Implementation

set typingIndicatorThrottle(value) {
  if (value >= 1000 && value <= 9000) {
    _typingIndicatorThrottle = value;
  }
}