Difference between revisions of "Qubot Telegram Integration En"
(Created page with "Category:Qubot T <span id="qubot-telegram-integration"></span> {{TOCright}} == Подключение бота в Telegram == Для подкл...") |
|||
| Line 2: | Line 2: | ||
<span id="qubot-telegram-integration"></span> | <span id="qubot-telegram-integration"></span> | ||
{{TOCright}} | {{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 | https://web.telegram.org | ||
| − | + | If you don’t have a Telegram account, sign up at https://web.telegram.org. | |
<br> | <br> | ||
<br> | <br> | ||
| Line 17: | Line 17: | ||
<br> | <br> | ||
<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> | ||
<br> | <br> | ||
| Line 25: | Line 25: | ||
<br> | <br> | ||
<br> | <br> | ||
| − | ''' | + | '''The following commands are available:''' |
<ul> | <ul> | ||
| − | <li>/newbot - | + | <li>/newbot - create a new bot</li> |
| − | <li>/mybots - | + | <li>/mybots - edit your bots [beta]</li> |
</ul> | </ul> | ||
| − | ''' | + | '''Edit Bots:''' |
<ul> | <ul> | ||
| − | <li>/setname - | + | <li>/setname - change a bot's name</li> |
| − | <li>/setdescription - | + | <li>/setdescription - change bot description</li> |
| − | <li>/setabouttext - | + | <li>/setabouttext - change bot about info</li> |
| − | <li>/setuserpic - | + | <li>/setuserpic - change bot profile photo</li> |
| − | <li>/setcommands - | + | <li>/setcommands - change the list of commands</li> |
| − | <li>/deletebot - | + | <li>/deletebot - delete a bot</li> |
</ul> | </ul> | ||
| − | ''' | + | '''Bot Settings:''' |
<ul> | <ul> | ||
| − | <li>/token - | + | <li>/token - generate authorization token</li> |
| − | <li>/revoke - | + | <li>/revoke - revoke bot access token</li> |
| − | <li>/setinline - | + | <li>/setinline - toggle inline mode (https://core.telegram.org/bots/inline)</li> |
| − | <li>/setinlinegeo | + | <li>/setinlinegeo - toggle inline location requests (https://core.telegram.org/bots/inline#location-based-results)</li> |
| − | <li>/setinlinefeedback | + | <li>/setinlinefeedback - change inline feedback (https://core.telegram.org/bots/inline#collecting-feedback) settings</li> |
| − | <li>/setjoingroups | + | <li>/setjoingroups - can your bot be added to groups?</li> |
| − | <li>/setprivacy - | + | <li>/setprivacy - toggle privacy mode (https://core.telegram.org/bots#privacy-mode) in groups</li> |
</ul> | </ul> | ||
| − | ''' | + | '''Games:''' |
<ul> | <ul> | ||
| − | <li>/mygames - | + | <li>/mygames - edit your games (https://core.telegram.org/bots/games) [beta]</li> |
| − | <li>/newgame - | + | <li>/newgame - create a new game (https://core.telegram.org/bots/games)</li> |
| − | <li>/listgames - | + | <li>/listgames - get a list of your games</li> |
| − | <li>/editgame - | + | <li>/editgame - edit a game</li> |
| − | <li>/deletegame - | + | <li>/deletegame - delete an existing game</li> |
</ul> | </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> | ||
<br> | <br> | ||
| Line 70: | Line 70: | ||
<br> | <br> | ||
<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> | ||
<br> | <br> | ||
| Line 78: | Line 78: | ||
<br> | <br> | ||
<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> | ||
<br> | <br> | ||
[[Файл:TelegramStep4_2.png|700px]] | [[Файл:TelegramStep4_2.png|700px]] | ||
| − | == | + | == see also == |
;Youtube:[https://www.youtube.com/watch?v=aM8Ny2V6HK0 How to connect your bot to Telegram in 1 minute] | ;Youtube:[https://www.youtube.com/watch?v=aM8Ny2V6HK0 How to connect your bot to Telegram in 1 minute] | ||
Revision as of 14:34, 24 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.
700px
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.
700px
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.
700px
Step 4
Select your bot, in the left pane select Integrations. Next, select Telegram. Make sure Telegram is activated (blue slider).
700px
Select Step 4 and enter your access token in the field. That's all the steps to set up a channel.
700px