createChatroomTipMessage static method

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

创建Tip消息

Implementation

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