setActivity method

Future<bool> setActivity()

Changes the status of the dialog - the user has started typing.

Implementation

Future<bool> setActivity() {
  final body = {'peer_id': peerId, 'type': 'typing'};
  return _vkontakte
      .request('messages.setActivity', body)
      .then((value) => checkBoolUtil(value)!);
}