pinGroupMessage method

  1. @override
Future<V2TimCallback> pinGroupMessage({
  1. required String msgID,
  2. required String groupID,
  3. required bool isPinned,
})
override

Implementation

@override
Future<V2TimCallback> pinGroupMessage({
  required String msgID,
  required String groupID,
  required bool isPinned,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "pinGroupMessage",
        buildMessageMangerParam(
          {
            "msgID": msgID,
            "groupID": groupID,
            "isPinned": isPinned,
          },
        ),
      ),
    ),
  );
}