API methods
First of all, get API key to insert in all requests.
Table of content
Get bot user
Get information about user.
GET https://app.tgtaps.com/api/bot-users/external/bot-user?apiKey=API_KEY&botId=BOT_ID&userTelegramId=TELEGRAM_ID
Example response:
Get bot user friends
Get friends of the user.
GET https://app.tgtaps.com/api/bot-users/external/bot-user-friends?botId=BOT_ID&apiKey=API_KEY&userTelegramId=TELEGRAM_ID
Example response:
Send message
Send message via bot to the user.
POST https://app.tgtaps.com/api/bot-users/external/send-message
Example request body:
You can use HTML tags to format your message.
Increase points
Increase points of the user.
GET https://app.tgtaps.com/api/bot-users/external/increase-points?botId=BOT_ID&apiKey=API_KEY&userTelegramId=TELEGRAM_ID&points=AMOUNT
Last updated