Versions Compared

Key

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

...

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

Image RemovedImage Added

Fig. 1. Create application

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

  • API id
  • API hash

Image RemovedImage 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 RemovedImage Added

Fig. 3. New chat gateway modal window

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

Image RemovedImage Added

Fig. 4. Telegram App tab

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

Image RemovedImage 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 RemovedImage Added

Fig. 6. Login to Telegram

Image RemovedImage Added

Fig. 7. Sign in to Telegram

9. After a successful login, the Logout button and the name of the Telegram account are displayed (Fig. 8).

Image Removed

Fig. 8. Successful login

Info

The Templates tab is used for additional settings of system notifications in the chat.

10. Go to the "Text gateways" Chat Gateways page and enable the newly created text gateway using the "Status" switch (Fig. 9) State switch (Fig. 8).

Image Added

Fig. 8. Enable Chat Gateway

The Chat Gateway is created, connected, and enabled.

11. Create a Flow on the Flow page with the Broadcast message component (Fig. 9) through which outgoing messages will go.

Image Added

Fig. 9. Flow

Peer - ${destination} – it is a variable of the phone number of Members in a Queue.

Chat Gateway profile - it is Chat Gateway createdearlier (points 5-10). Click the Add button after selecting the Chat Gateway.

Click the Save button.

12. Go to the Queues page, click the Add button, and create an Outbound task queue (Fig.10).

Image Added

Fig. 10. Create an Outbound task queue

The General tab opens (Fig.11) after clicking the Create button.

13. Fill in the required fields. In the field, select the Flow created earlier (point 11).

Image Added

Fig. 11. General tab

Click the Save button. Go to the Queues page.

14. Open this queue's Members page and create Members who will receive messages.