send-message/send-location
Description
- Send location information
Request URL
http://127.0.0.1:8888/api/
Request Method
Parameters
| Parameter Name | Required | Parameter Type | Description |
|---|
| type | Yes | int | API ID |
| userName | Yes | string | Receiver's wxid |
| longitude | Yes | double | longitude |
| latitude | Yes | double | latitude |
| label | Yes | string | Geographic location (large) |
| poiName | Yes | string | Geographic location (small) |
| poiId | Yes | string | Tencent Map ID |
| isFromPoiList | Yes | bool | Whether from poi list |
Request Example
{
"type": 10022,
"userName": "filehelper",
"longitude": 104.56634521484375,
"latitude": 38.00156021118164,
"label": "Alashan Zuoqi",
"poiName": "Qirigeduhuge, Tengger Eliisi Town, Alashan Zuoqi",
"poiId": "17209047574645427176",
"isFromPoiList": false
}
Return Example
{
"data": {
"status": 0,
"desc": "",
}
}
Return Parameter Description
| Parameter Name | Parameter Type | Description |
|---|
| error_code | int | Error code |
| description | string | Error Description |
| data | json | Business data |