Telegram Account Automation API

Automation of Telegram accounts: Telegram groups control module for CRM/BPM systems
Through the API we provide from any account connected to Hotline.tg, you can programmatically manage groups in Telegram or perform other operations that are only available to user accounts Telegram.
This feature can expand the range of capabilities in conjunction with Telegram your CRM systems not accessible through Telegram Bot API or Premium/Business subscription methods.
Attention: This page contains fragments with automatic translation. If you have difficulty understanding this information, try switching the language to English or Russian and use your trusted system for translating websites.
Supported Methods
Currently the following methods are available in the API:

  • Creation Telegram groups, getting chat_id
  • Rename Telegram groups by chat_id
  • Adding members to Telegram groups by user_id or username
  • Removing members Telegram groups by user_id
  • Getting join-link (invite link) for Telegram groups by chat_id
  • Delete Telegram groups by chat_id
  • Removing join-link
  • Defining common groups with a user by user_id
Interaction with the API is carried out in JSON format via a webhook, which means it easily integrates with most systems.
Request documentation on the interaction format from the support service @hotlinetg_support.
Account connection
  • Groups are managed from the user connected to the system Hotline account Telegram (or calling other account functions), in this context it is called Manager Account.
  • The Manager Account must be a regular user account (registered to a mobile phone number)
  • Telegram-Premium and/or Telegram-Business Subscription to the Manager Account is not required
  • Connecting the Manager Account to the system Hotline happens through the setup bot @hotlinetg_bot
  • To Work with @hotlinetg_bot this can be done either from a personal account or from a connected Manager Account. Further administration of the connection also occurs through the bot @hotlinetg_bot.
  • During the connection process, the bot sends a QR code that must be scanned through the mobile application Telegram, in which the connected Management Account must be active. On a mobile device with the application Telegram there must be a camera.
  • Scanning the code is done from the section: Menu / Settings / Devices / Connecting a new Desktop device
  • After scanning the code, you will also need to select a topic group (existing or create a new one) to work through Hotline (conducting dialogues on behalf of a connected account, monitoring groups, etc.).
  • After successfully connecting the Manager Account, @hotlinetg_bot you need to go to the properties of the new connection. There you will find out the instance (connection) number and the key for the API (confirming the transfer of rights to automatically manage data Telegram account).
  • If other system functions Hotline, except for the API, are not needed, the instance can be stopped by clicking the button Stop Instance in the connection properties (then the previously specified topic group will be used only for sending technical notifications if necessary).
The entire procedure for connecting an account to the system Hotline.tg shown in a video from our YouTube channel:
Applications of the API connection Hotline.tg
  • Controls Telegram groups and their participants for CRM and/or BPM systems
  • Creating groups with client representatives, adding an account connected to Hotline (for example, to forward messages from groups to the technical support team on the side of the topic group)
  • Automatically adding the required list of participants/users to created groups Telegram, including bots (for example, AI-consultants or integrations with external systems)
  • Getting a join-link to join a group (for example, from a user’s personal account)
Gaining access to the API
To gain access to the API, documentation on the provided methods, calculate the cost of integration and support, you must write to the support service @hotlinetg_support and talk about your task.