Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To connect the Telegram App Chat Gateway to Webitel, you have to do the following:

1. Have a Telegram account registered to a phone number.

Info

How to register Telegram App can be found here.

2. Log in to the site https://my.telegram.org.

3. Go to API development tools. Fill out the form and click the Create application button (Fig.1).

Image Added

Fig. 1. Create application

The configuration page opens. The following parameters are taken from here (Fig. 2):

  • API id
  • API hash

Image Added

Fig. 2. Configuration

5. Go to Webitel – Admin, Chat Gateways page, and create a new Chat Gateway by selecting Telegram App (Fig.3).

Image Added

Fig. 3. New chat gateway modal window

6. Fill in the fields  (Fig. 4) using the previously obtained data (see point 4).

Image Added

Fig. 4. Telegram App tab

7. Click the Save button. The Sign in to Telegram button appears (Fig. 5).

Image Added

Fig. 5. Sign in to Telegram

8. Click the Sign in to Telegram button and log in to Telegram (the same phone number as point 2).

Image Added

Fig. 6. Sign in to Telegram