createChatroomLocationMessage static method
创建地理位置消息
Implementation
static Future<NIMResult<NIMChatroomMessage>> createChatroomLocationMessage({
required String roomId,
required double latitude,
required double longitude,
required String address,
}) async {
return NimCore.instance.chatroomService._createMessage({
'roomId': roomId,
'latitude': latitude,
'longitude': longitude,
'address': address,
'messageType': 'location',
});
}