AN integration of a Telegram into CRM

TELEGRAM USERBOT API

A stable REST API for personal (numbered) Telegram to send and read messages via HTTP requests

  • Write first by phone number
  • Read messages in groups
  • Communicate through the Telegram interface
blue_line
plane
pattern
pattern
pattern
DIFFERENCES BETWEEN THE USERBOT AND A BOT

TELEGRAM USERBOT

TELEGRAM BOT

You can write first by phone number
It is possible to read messages in groups
Ability to communicate through the Telegram interface
All the features of a regular Telegram user
pattern
blue_line
fire
fire
heart
QUICK AND CLEAR SELF-ACTIVATION OF THE ACCOUNT
SEND MESSAGE
CURL (BASH)
PYTHON
curl \

-d '{"phone": "79995253422","template": "template_name", "namespace" : "namespace_of_template", "language": { "code": "en", "policy": "deterministic"}}' \
# Phone and template parameters
-H "Content-Type: application/json" \
# Headers

-X POST "https://api.chat-api.com/sendTemplate?token=83763g87x"
# URL for request POST /message
import requests

r = requests.post("https://userbot-api.tech/api/v1/telegram/send_message", params = {
"chat_id": "1234567890",
"message": "Hello World!"
}, headers = {
"Authorization": "Bearer <Your token>"
})
print(r.status_code, r.json())
SEND PHOTO
CURL (BASH)
PYTHON
curl \
-d '' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <Your token>' \
-X 'POST' \
'https://userbot-api.tech/api/v1/telegram/send_photo?chat_id=1890&photo_url=<encoded_url>'
import requests

r = requests.post("https://userbot-api.tech/api/v1/telegram/send_photo", params = {
"chat_id": "1234567890",
"photo_url": "https://via.placeholder.com/300?text=Test"
"caption": "Caption text"
}, headers = {
"Authorization": "Bearer <Your token>"
})
print(r.status_code, r.json())
FIND A USER BY PHONE NUMBER
CURL (BASH)
PYTHON
curl \
-d '' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <Your token>' \
-X 'GET' \
'https://userbot-api.tech/api/v1/telegram/search_user?phone=79000000000' \
import requests

r = requests.get("https://userbot-api.tech/api/v1/telegram/search_user", params = {
"phone": "79000000000",
}, headers = {
"Authorization": "Bearer <Your token>"
})
print(r.status_code, r.json())
CHOOSE A PLAN THAT'S PERFECT FOR YOU
UNI
UNI
  • All methods of sending any messages and media
  • Ability to write first by username and telegram_id
  • Ability to create groups and add/remove members to them
  • Possibility to write first by phone number
  • Proxy for securely sending large numbers of messages
19$ /month