# SOME DESCRIPTIVE TITLE. # Copyright (C) 2022, aiogram Team # This file is distributed under the same license as the aiogram package. # FIRST AUTHOR , 2022. # #, 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 \n" "Language-Team: LANGUAGE \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/index.rst:3 msgid "Handling events" msgstr "" #: ../../dispatcher/index.rst:5 msgid "" "*aiogram* includes Dispatcher mechanism. Dispatcher is needed for " "handling incoming updates from Telegram." msgstr "" #: ../../dispatcher/index.rst:8 msgid "With dispatcher you can do:" msgstr "" #: ../../dispatcher/index.rst:10 msgid "Handle incoming updates;" msgstr "" #: ../../dispatcher/index.rst:11 msgid "Filter incoming events before it will be processed by specific handler;" msgstr "" #: ../../dispatcher/index.rst:12 msgid "Modify event and related data in middlewares;" msgstr "" #: ../../dispatcher/index.rst:13 msgid "" "Separate bot functionality between different handlers, modules and " "packages" msgstr "" #: ../../dispatcher/index.rst:15 msgid "" "Dispatcher is also separated into two entities - Router and Dispatcher. " "Dispatcher is subclass of router and should be always is root router." msgstr "" #: ../../dispatcher/index.rst:18 msgid "Telegram supports two ways of receiving updates:" msgstr "" #: ../../dispatcher/index.rst:20 msgid "" ":ref:`Webhook ` - you should configure your web server to " "receive updates from Telegram;" msgstr "" #: ../../dispatcher/index.rst:21 msgid "" ":ref:`Long polling ` - you should request updates from " "Telegram." msgstr "" #: ../../dispatcher/index.rst:23 msgid "So, you can use both of them with *aiogram*." msgstr ""