aiogram/docs/locale/en/LC_MESSAGES/dispatcher/long_polling.po
Alex Root Junior b311d59fce
Webhook docs (#1248)
* Added documentation for polling/webhook modes

* Added changelog

* Added changelog
2023-08-06 16:59:29 +03:00

62 lines
1.8 KiB
Text

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2023, aiogram Team
# This file is distributed under the same license as the aiogram package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-06 16:52+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.12.1\n"
#: ../../dispatcher/long_polling.rst:5
msgid "Long-polling"
msgstr ""
#: ../../dispatcher/long_polling.rst:7
msgid ""
"Long-polling is a technology that allows a Telegram server to send "
"updates in case when you don't have dedicated IP address or port to "
"receive webhooks for example on a developer machine."
msgstr ""
#: ../../dispatcher/long_polling.rst:11
msgid ""
"To use long-polling mode you should use "
":meth:`aiogram.dispatcher.dispatcher.Dispatcher.start_polling` or "
":meth:`aiogram.dispatcher.dispatcher.Dispatcher.run_polling` methods."
msgstr ""
#: ../../dispatcher/long_polling.rst:16
msgid ""
"You can use polling from only one polling process per single Bot token, "
"in other case Telegram server will return an error."
msgstr ""
#: ../../dispatcher/long_polling.rst:21
msgid ""
"If you will need to scale your bot, you should use webhooks instead of "
"long-polling."
msgstr ""
#: ../../dispatcher/long_polling.rst:25
msgid "If you will use multibot mode, you should use webhook mode for all bots."
msgstr ""
#: ../../dispatcher/long_polling.rst:28
msgid "Example"
msgstr ""
#: ../../dispatcher/long_polling.rst:30
msgid ""
"This example will show you how to create simple echo bot based on long-"
"polling."
msgstr ""