sendGroupMessageReadAck method

Future<void> sendGroupMessageReadAck(
  1. String msgId,
  2. String groupId, {
  3. String? content,
})

~english Sends the group message receipt to the server.

Note

Param msgId The message ID.

Param groupId The group ID.

Param content The extension information, which is a custom keyword that specifies a custom action or command.

Throws A description of the exception. See EMError. ~end

~chinese 发送群消息已读回执。

Note

  1. 使用该方法前,需将 EMOptions.requireAckEMMessage.needGroupAck 设置为 true
  2. 发送单聊消息已读回执,详见 sendMessageReadAck
  3. 会话已读回执,详见 sendConversationReadAck

Param msgId 消息 ID。

Param groupId 群组 ID。

Param content 扩展信息。用户自己定义的关键字,接收后,解析出自定义的字符串,可以自行处理。

Throws 如果有异常会在这里抛出,包含错误码和错误描述,详见 EMError。 ~end

Implementation

Future<void> sendGroupMessageReadAck(
  String msgId,
  String groupId, {
  String? content,
}) async {
  throw UnimplementedError("not implemented.");
}