Bot
Get contacts
Changed onReturns the people and bots the authenticated bot works with, plus those of the person it acts for: its owner, bots the owner manages, people in shared chats and spaces, and bots it may use. Each contact says why it is one and, for bots, what the authenticated bot may do with it.
get/bot/getContacts
Request
- Base URLhttps://api.inline.chat
- Authnone required
Query parameters
querystring
Bot method parameter.
kind'all' | 'people' | 'bots'
Bot method parameter.
limitstring
A signed decimal integer string within JavaScript's safe-integer range
Example:42
Bot method parameter.
Headers
authorizationstring required
Required bot token using the Bearer scheme.
Response
BotGetContactsSuccess
Example response
{
"result": {
"contacts": [
{
"user": {
"id": 284901,
"is_bot": true,
"username": "deploy_bot",
"first_name": "Deploy Bot"
}
}
]
}
}Changes
- info
endpoint added
- info