ChatLocationMessageBody constructor
~english Creates a location message body instance.
Param latitude The latitude.
Param longitude The longitude.
Param address
The address.
Param buildingName
The building name.
~end
~chinese 创建一个位置消息体实例。
Param latitude 纬度。
Param longitude 经度。
Param address
地址。
Param buildingName
建筑物名称。
~end
Implementation
ChatLocationMessageBody({
required this.latitude,
required this.longitude,
String? address,
String? buildingName,
}) : super(type: MessageType.LOCATION) {
_address = address;
_buildingName = buildingName;
}