It is designed to set up a chat in the Telegram messenger.
Consists of fields (Fig.1):
Name;
Flow;
API id;
API hash.
Fig.1. Telegram App tab
1.1. Name
Here you enter the name that will be displayed in the registry of theChat Gatewayspage.
1.2. Flow
Here you choose which Flow will be processed when the Chat Gateway is used.
When you click on the Flow field, a drop-down list opens from which the flow is selected. If the required flow is not in the drop-down list, use the Flow field as a search field.
API identifier that is taken from the configuration page (Fig. 3).
1.4. API hash
API hash that is taken from the configuration page (Fig. 3).
Log in to the site https://my.telegram.org to get the API id and API hash. Go to API development tools. Fill out the form and click the Create application button (Fig.2).
Fig. 2. Create application
The configuration page opens. The following parameters are taken from here (Fig. 3)
0 Comments