setGroupReceiveMessageOpt method Null safety

Future<V2TimCallback> setGroupReceiveMessageOpt(
  1. {required String groupID,
  2. required ReceiveMsgOptEnum opt}
)

Modify the group message receiving option

Parameter opt Three types of message receiving options: ReceiveMsgOptEnum.V2TIM_GROUP_RECEIVE_MESSAGE: normally receive messages online, and offline push notifications from manufacturers will be available when offline Receive messages without push notifications offline

Implementation

Future<V2TimCallback> setGroupReceiveMessageOpt({
  required String groupID,
  required ReceiveMsgOptEnum opt,
}) async {
  return await ImFlutterPlatform.instance.setGroupReceiveMessageOpt(
    groupID: groupID,
    opt: EnumUtils.convertReceiveMsgOptEnum(opt),
  );
}