Webhook docs (#1248)

* Added documentation for polling/webhook modes

* Added changelog

* Added changelog
This commit is contained in:
Alex Root Junior 2023-08-06 16:59:29 +03:00 committed by GitHub
parent 62d4b9014c
commit b311d59fce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 2595 additions and 692 deletions

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\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.10.3\n"
"Generated-By: Babel 2.12.1\n"
#: ../../api/methods/answer_pre_checkout_query.rst:3
msgid "answerPreCheckoutQuery"
@ -65,36 +65,44 @@ msgid ""
" user."
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:14
#: ../../api/methods/answer_pre_checkout_query.rst:15
msgid "Usage"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:17
#: ../../api/methods/answer_pre_checkout_query.rst:18
msgid "As bot method"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:25
#: ../../api/methods/answer_pre_checkout_query.rst:26
msgid "Method as object"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:27
#: ../../api/methods/answer_pre_checkout_query.rst:28
msgid "Imports:"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:29
#: ../../api/methods/answer_pre_checkout_query.rst:30
msgid ""
":code:`from aiogram.methods.answer_pre_checkout_query import "
"AnswerPreCheckoutQuery`"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:30
#: ../../api/methods/answer_pre_checkout_query.rst:31
msgid "alias: :code:`from aiogram.methods import AnswerPreCheckoutQuery`"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:33
#: ../../api/methods/answer_pre_checkout_query.rst:34
msgid "With specific bot"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:40
#: ../../api/methods/answer_pre_checkout_query.rst:41
msgid "As reply into Webhook in handler"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:49
msgid "As shortcut from received object"
msgstr ""
#: ../../api/methods/answer_pre_checkout_query.rst:51
msgid ":meth:`aiogram.types.pre_checkout_query.PreCheckoutQuery.answer`"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-01 22:51+0300\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.10.3\n"
"Generated-By: Babel 2.12.1\n"
#: ../../api/methods/answer_shipping_query.rst:3
msgid "answerShippingQuery"
@ -69,36 +69,44 @@ msgid ""
"this message to the user."
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:14
#: ../../api/methods/answer_shipping_query.rst:15
msgid "Usage"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:17
#: ../../api/methods/answer_shipping_query.rst:18
msgid "As bot method"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:25
#: ../../api/methods/answer_shipping_query.rst:26
msgid "Method as object"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:27
#: ../../api/methods/answer_shipping_query.rst:28
msgid "Imports:"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:29
#: ../../api/methods/answer_shipping_query.rst:30
msgid ""
":code:`from aiogram.methods.answer_shipping_query import "
"AnswerShippingQuery`"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:30
#: ../../api/methods/answer_shipping_query.rst:31
msgid "alias: :code:`from aiogram.methods import AnswerShippingQuery`"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:33
#: ../../api/methods/answer_shipping_query.rst:34
msgid "With specific bot"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:40
#: ../../api/methods/answer_shipping_query.rst:41
msgid "As reply into Webhook in handler"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:49
msgid "As shortcut from received object"
msgstr ""
#: ../../api/methods/answer_shipping_query.rst:51
msgid ":meth:`aiogram.types.shipping_query.ShippingQuery.answer`"
msgstr ""

View file

@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: aiogram \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-11-23 00:47+0200\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.10.3\n"
"Generated-By: Babel 2.12.1\n"
#: ../../api/methods/edit_message_reply_markup.rst:3
msgid "editMessageReplyMarkup"
@ -70,48 +70,52 @@ msgid ""
"<https://core.telegram.org/bots/features#inline-keyboards>`_."
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:14
#: ../../api/methods/edit_message_reply_markup.rst:15
msgid "Usage"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:17
#: ../../api/methods/edit_message_reply_markup.rst:18
msgid "As bot method"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:25
#: ../../api/methods/edit_message_reply_markup.rst:26
msgid "Method as object"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:27
#: ../../api/methods/edit_message_reply_markup.rst:28
msgid "Imports:"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:29
#: ../../api/methods/edit_message_reply_markup.rst:30
msgid ""
":code:`from aiogram.methods.edit_message_reply_markup import "
"EditMessageReplyMarkup`"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:30
#: ../../api/methods/edit_message_reply_markup.rst:31
msgid "alias: :code:`from aiogram.methods import EditMessageReplyMarkup`"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:33
#: ../../api/methods/edit_message_reply_markup.rst:34
msgid "With specific bot"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:40
#: ../../api/methods/edit_message_reply_markup.rst:41
msgid "As reply into Webhook in handler"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:48
#: ../../api/methods/edit_message_reply_markup.rst:49
msgid "As shortcut from received object"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:50
#: ../../api/methods/edit_message_reply_markup.rst:51
msgid ":meth:`aiogram.types.message.Message.edit_reply_markup`"
msgstr ""
#: ../../api/methods/edit_message_reply_markup.rst:52
msgid ":meth:`aiogram.types.message.Message.delete_reply_markup`"
msgstr ""
#~ msgid ""
#~ "A JSON-serialized object for an "
#~ "`inline keyboard <https://core.telegram.org/bots"