createChatroomTipMessage method Null safety

Future<NIMResult<NIMChatroomMessage>> createChatroomTipMessage(
  1. {required String roomId}
)

Create a tip message.

Implementation

static Future<NIMResult<NIMChatroomMessage>> createChatroomTipMessage({
  required String roomId,
}) async {
  return NimCore.instance.chatroomService._createMessage({
    'roomId': roomId,
    'messageType': 'tip',
  });
}