- 文档必读
- 客户端控制
- 登录信息
- 消息
- 联系人
- 群组
- 标签
- CDN
- 朋友圈
- 开放平台双向互通
发送位置消息
POST
/
请求参数
Body 参数application/json
data
object
必需
conversation_id
string
必需
address
string
必需
latitude
number
必需
longitude
number
必需
title
string
必需
zoom
integer
必需
client_id
integer
必需
type
string
必需
示例
{
"data": {
"conversation_id":"S:1688850xx82_78813022xxxx12998",
"address":"北京市东城区东长安街",
"latitude":39.903739999999999,
"longitude":116.39782700000001,
"title":"北京天安门广场",
"zoom":15
},
"client_id": 1,
"type": "WW_SEND_LOCATION_MSG"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"conversation_id":"S:1688850xx82_78813022xxxx12998",
"address":"北京市东城区东长安街",
"latitude":39.903739999999999,
"longitude":116.39782700000001,
"title":"北京天安门广场",
"zoom":15
},
"client_id": 1,
"type": "WW_SEND_LOCATION_MSG"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}