Qubot Telegram Integration
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.