Skip to main content

Connection - Telegram​

The Telegram Connection stores the sign-in settings that the Telegram - User Send message Task uses to connect to Telegram.

Set up the Telegram Connection​

The Connection needs your own Telegram app and the phone number of the Telegram account. To set it up, complete the following steps:

  1. On Main settings, click Create an app in my.telegram.org. The Telegram app registration page opens.
  2. Create a Telegram app.
  3. Enter the app_id of the app in App app_id.
  4. Enter the api_hash of the app in App api_hash.
  5. On Common settings, enter the phone number of the Telegram account, with the country code, in Number.
  6. Click Test. VisualCron requests a login code, and the code is sent to the account.
  7. On Main settings, enter the login code in Code.
  8. Click OK.

The Connection is saved with the login code and is ready for the Task.

Common settings​

Telegram Connection, Common settings tab with the Protocol and Information groups

The Common settings and Proxy tabs are the same for every Connection type that has them; see Common settings and Proxy. On a Telegram Connection, the first field is Number instead of Name.

Number

The phone number of the Telegram account that sends the messages, with the country code. VisualCron logs on to Telegram with this number.

Test

Requests a login code for the account in Number. When the request succeeds, a message asks you to enter the code in Code and save the Connection.

Main settings​

These fields are on Connection settings -> Main settings.

The Connection settings tab holds two tabs: Main settings and Proxy.

Telegram Connection, Main settings tab with the Credentials group

The screenshot shows a Use VisualCron registered app box from an earlier version. The current Client does not have it, and the Connection always uses your own Telegram app.

App app_id

The app_id of your Telegram app.

App api_hash

The api_hash of your Telegram app.

Code

The login code that Test requests. Enter it, then click OK.

Create an app in my.telegram.org

Opens the Telegram app registration page in the web browser.

Proxy​

The Telegram - User Send message Task uses the settings on this tab.