Difference between revisions of "Qubot Telegram Integration"
(Slavinsky moved page Qubot Telegram Integration to Qubot Telegram Integration/ru: localization) Tag: New redirect |
m (Removed redirect to Qubot Telegram Integration/ru) Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
| − | + | [[Category:Qubot]] [[Category:Integrations|T]] | |
| + | <span id="qubot-telegram-integration"></span> | ||
| + | {{TOCright}} | ||
| + | == Connecting a bot to Telegram == | ||
| + | |||
| + | To connect the bot follow the steps below: | ||
| + | == Step 1 == | ||
| + | |||
| + | Log in to your Telegram account. | ||
| + | |||
| + | https://web.telegram.org | ||
| + | |||
| + | If you don’t have a Telegram account, sign up at https://web.telegram.org. | ||
| + | <br> | ||
| + | <br> | ||
| + | [[File:TelegramStep1.png|700px]] | ||
| + | <br> | ||
| + | <br> | ||
| + | |||
| + | == Step 2 == | ||
| + | |||
| + | Once signed in, search for @BotFather from the Search option as shown below.Select BotFather bot and type /start (or click on START button). If @BotFather is already among your contacts, you may proceed to Step 3 directly. | ||
| + | <br> | ||
| + | <br> | ||
| + | [[File:TelegramStep2.png|700px]] | ||
| + | <br> | ||
| + | <br> | ||
| + | '''The following commands are available:''' | ||
| + | <ul> | ||
| + | <li>/newbot - create a new bot</li> | ||
| + | <li>/mybots - edit your bots [beta]</li> | ||
| + | </ul> | ||
| + | '''Edit Bots:''' | ||
| + | <ul> | ||
| + | <li>/setname - change a bot's name</li> | ||
| + | <li>/setdescription - change bot description</li> | ||
| + | <li>/setabouttext - change bot about info</li> | ||
| + | <li>/setuserpic - change bot profile photo</li> | ||
| + | <li>/setcommands - change the list of commands</li> | ||
| + | <li>/deletebot - delete a bot</li> | ||
| + | </ul> | ||
| + | '''Bot Settings:''' | ||
| + | <ul> | ||
| + | <li>/token - generate authorization token</li> | ||
| + | <li>/revoke - revoke bot access token</li> | ||
| + | <li>/setinline - toggle inline mode (https://core.telegram.org/bots/inline)</li> | ||
| + | <li>/setinlinegeo - toggle inline location requests (https://core.telegram.org/bots/inline#location-based-results)</li> | ||
| + | <li>/setinlinefeedback - change inline feedback (https://core.telegram.org/bots/inline#collecting-feedback) settings</li> | ||
| + | <li>/setjoingroups - can your bot be added to groups?</li> | ||
| + | <li>/setprivacy - toggle privacy mode (https://core.telegram.org/bots#privacy-mode) in groups</li> | ||
| + | </ul> | ||
| + | '''Games:''' | ||
| + | <ul> | ||
| + | <li>/mygames - edit your games (https://core.telegram.org/bots/games) [beta]</li> | ||
| + | <li>/newgame - create a new game (https://core.telegram.org/bots/games)</li> | ||
| + | <li>/listgames - get a list of your games</li> | ||
| + | <li>/editgame - edit a game</li> | ||
| + | <li>/deletegame - delete an existing game</li> | ||
| + | </ul> | ||
| + | |||
| + | == Step 3 == | ||
| + | |||
| + | Create a bot: | ||
| + | |||
| + | Send /newbot to the BotFather, and enter a name for the new bot to be created.<br> | ||
| + | Provide the username that ends with bot, e.g. sample_bot or SampleBot.<br> | ||
| + | Copy the access token from the Telegram’s confirmation message.<br> | ||
| + | <br> | ||
| + | <br> | ||
| + | [[File:TelegramStep3.png|700px]] | ||
| + | <br> | ||
| + | <br> | ||
| + | |||
| + | == Step 4 == | ||
| + | |||
| + | Select your bot, in the left pane select '''Integrations'''. Next, select Telegram. Make sure Telegram is activated (blue slider). | ||
| + | <br> | ||
| + | <br> | ||
| + | [[File:TelegramStep4.png|700px]] | ||
| + | <br> | ||
| + | <br> | ||
| + | Select Step 4 and enter your access token in the field. That's all the steps to set up a channel. | ||
| + | <br> | ||
| + | <br> | ||
| + | [[File:TelegramStep4_2.png|700px]] | ||
| + | |||
| + | == see also == | ||
| + | ;Youtube:[https://www.youtube.com/watch?v=aM8Ny2V6HK0 How to connect your bot to Telegram in 1 minute] | ||
Latest revision as of 09:08, 27 June 2022
Connecting a bot to Telegram
To connect the bot follow the steps below:
Step 1
Log in to your Telegram account.
If you don’t have a Telegram account, sign up at https://web.telegram.org.
Step 2
Once signed in, search for @BotFather from the Search option as shown below.Select BotFather bot and type /start (or click on START button). If @BotFather is already among your contacts, you may proceed to Step 3 directly.
The following commands are available:
- /newbot - create a new bot
- /mybots - edit your bots [beta]
Edit Bots:
- /setname - change a bot's name
- /setdescription - change bot description
- /setabouttext - change bot about info
- /setuserpic - change bot profile photo
- /setcommands - change the list of commands
- /deletebot - delete a bot
Bot Settings:
- /token - generate authorization token
- /revoke - revoke bot access token
- /setinline - toggle inline mode (https://core.telegram.org/bots/inline)
- /setinlinegeo - toggle inline location requests (https://core.telegram.org/bots/inline#location-based-results)
- /setinlinefeedback - change inline feedback (https://core.telegram.org/bots/inline#collecting-feedback) settings
- /setjoingroups - can your bot be added to groups?
- /setprivacy - toggle privacy mode (https://core.telegram.org/bots#privacy-mode) in groups
Games:
- /mygames - edit your games (https://core.telegram.org/bots/games) [beta]
- /newgame - create a new game (https://core.telegram.org/bots/games)
- /listgames - get a list of your games
- /editgame - edit a game
- /deletegame - delete an existing game
Step 3
Create a bot:
Send /newbot to the BotFather, and enter a name for the new bot to be created.
Provide the username that ends with bot, e.g. sample_bot or SampleBot.
Copy the access token from the Telegram’s confirmation message.
Step 4
Select your bot, in the left pane select Integrations. Next, select Telegram. Make sure Telegram is activated (blue slider).
Select Step 4 and enter your access token in the field. That's all the steps to set up a channel.