createLocationMessage method

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createLocationMessage({
  1. required String desc,
  2. required double longitude,
  3. required double latitude,
})

创建位置信息 longitude 经度,发送消息时设置 latitude 纬度,发送消息时设置 desc 地理位置描述信息

Implementation

Future<V2TimValueCallback<V2TimMsgCreateInfoResult>> createLocationMessage({
  required String desc,
  required double longitude,
  required double latitude,
}) async {
  return TencentCloudChatSdkPlatform.instance.createLocationMessage(
    desc: desc,
    longitude: longitude,
    latitude: latitude,
  );
}