Location Message
POST/message/sendLocation
Send simple location messages with built-in buttons.
To send the location message, you need to inform at least the longitude and latitude, according to the examples below.
You can only send one type of inline buttons per message, if you pass both types of buttons by parameter, the commonButtons type will be disregarded.
Request
- application/json
Body
required
required
options object
The delay property can receive either a single integer value or an array of two-position integers.
quoted object
Inform the id of the message you want to quote, remembering that you can only quote one message at a time in the chat.
mentions object
Mention people in groups or simple chats.
Default value: false
Pass this property to "true" to mention everyone in a group
default: false
Default value: false
Mention all participants in a group without directly referencing them
default: false
The mention of participants is valid only for groups
Default value: paused | composing | unavailable | available | recording
Set your status in chat
locationMessage object
Enter the file name along with its extension.
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
{
"queueId": "string"
}