groupAckCount method

Future<int> groupAckCount()

Gets the number of members that have read the group message.

Return group ack count

Throws A description of the exception. See ChatError


Future<int> groupAckCount() async {
  Map req = {"msgId": msgId};
  Map result =
      await _emMessageChannel.invokeMethod(ChatMethodKeys.groupAckCount, req);
  try {
    if (result.containsKey(ChatMethodKeys.groupAckCount)) {
      return result[ChatMethodKeys.groupAckCount];
    } else {
      return 0;
  } on ChatError catch (e) {
    throw e;