Difference between revisions of "Qubot Telegram Integration En"

From QuData
Jump to navigation Jump to search
(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}}
== Подключение бота в Telegram ==
+
== Connecting a bot to Telegram ==
  
Для подключения бота следуйте шагам описанным ниже:
+
To connect the bot follow the steps below:
== Шаг 1 ==
+
== Step 1 ==
  
Войдите в свою учетную запись Telegram.
+
Log in to your Telegram account.
  
 
https://web.telegram.org
 
https://web.telegram.org
  
Если у вас нет учетной записи Telegram, зарегистрируйтесь на 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>
== Шаг 2 ==
+
== Step 2 ==
  
После входа в систему найдите @BotFather в разделе «Поиск», как показано ниже. Выберите бота BotFather и введите /start (или нажмите кнопку «СТАРТ»). Если @BotFather уже есть среди ваших контактов, вы можете сразу перейти к шагу 3.
+
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>
+
<li>/newbot - create a new bot</li>
<li>/mybots - редактировать своих ботов [бета]</li>
+
<li>/mybots - edit your bots [beta]</li>
 
</ul>
 
</ul>
'''Редактировать ботов:'''
+
'''Edit Bots:'''
 
<ul>
 
<ul>
<li>/setname - изменить имя бота</li>
+
<li>/setname - change a bot's name</li>
<li>/setdescription - изменить описание бота</li>
+
<li>/setdescription - change bot description</li>
<li>/setabouttext - изменить информацию о боте</li>
+
<li>/setabouttext - change bot about info</li>
<li>/setuserpic - изменить фото профиля бота</li>
+
<li>/setuserpic - change bot profile photo</li>
<li>/setcommands - изменить список команд</li>
+
<li>/setcommands - change the list of commands</li>
<li>/deletebot - удалить бота</li>
+
<li>/deletebot - delete a bot</li>
 
</ul>
 
</ul>
'''Настройки бота:'''
+
'''Bot Settings:'''
 
<ul>
 
<ul>
<li>/token - создать токен авторизации</li>
+
<li>/token - generate authorization token</li>
<li>/revoke - отозвать токен доступа к боту</li>
+
<li>/revoke - revoke bot access token</li>
<li>/setinline - переключить встроенный режим</li>
+
<li>/setinline - toggle inline mode (https://core.telegram.org/bots/inline)</li>
<li>/setinlinegeo — включить встроенные запросы местоположения</li>
+
<li>/setinlinegeo - toggle inline location requests (https://core.telegram.org/bots/inline#location-based-results)</li>
<li>/setinlinefeedback — изменить настройки встроенной обратной связи</li>
+
<li>/setinlinefeedback - change inline feedback (https://core.telegram.org/bots/inline#collecting-feedback) settings</li>
<li>/setjoingroups — можно ли добавить вашего бота в группы?</li>
+
<li>/setjoingroups - can your bot be added to groups?</li>
<li>/setprivacy - включить режим приватности в группах</li>
+
<li>/setprivacy - toggle privacy mode (https://core.telegram.org/bots#privacy-mode) in groups</li>
 
</ul>
 
</ul>
'''Игры:'''
+
'''Games:'''
 
<ul>
 
<ul>
<li>/mygames - редактировать свои игры [бета]</li>
+
<li>/mygames - edit your games (https://core.telegram.org/bots/games) [beta]</li>
<li>/newgame - создать новую игру</li>
+
<li>/newgame - create a new game (https://core.telegram.org/bots/games)</li>
<li>/listgames - получить список ваших игр</li>
+
<li>/listgames - get a list of your games</li>
<li>/editgame - редактировать игру</li>
+
<li>/editgame - edit a game</li>
<li>/deletegame - удалить существующую игру</li>
+
<li>/deletegame - delete an existing game</li>
 
</ul>
 
</ul>
  
== Шаг 3 ==
+
== Step 3 ==
  
Создайте бота:
+
Create a bot:
  
Отправьте /newbot BotFather и введите имя нового бота, который будет создан.<br>
+
Send /newbot to the BotFather, and enter a name for the new bot to be created.<br>
Укажите имя пользователя, оканчивающееся на bot, например. Sample_bot или SampleBot.<br>
+
Provide the username that ends with bot, e.g. sample_bot or SampleBot.<br>
Скопируйте токен доступа из сообщения подтверждения Telegram.<br>
+
Copy the access token from the Telegram’s confirmation message.<br>
 
<br>
 
<br>
 
<br>
 
<br>
Line 70: Line 70:
 
<br>
 
<br>
 
<br>
 
<br>
== Шаг 4 ==
+
== Step 4 ==
  
Выберите вашего бота, в левой панели выберите пункт '''Интеграции'''. Далее выберите Telegram. Проверьте, что бы Telegram был активирован(синий ползунок).
+
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>
Выберите Шаг 4 и введите в поле токен доступа. Вот и все шаги по настройке канала.
+
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.

https://web.telegram.org

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:

Games:

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

see also

Youtube
How to connect your bot to Telegram in 1 minute