mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
again
This commit is contained in:
parent
98b2cf8636
commit
8a02fcef07
1 changed files with 2 additions and 5 deletions
|
|
@ -209,7 +209,7 @@ class SimpleRequestHandler(BaseRequestHandler):
|
|||
bot: Bot,
|
||||
handle_in_background: bool = True,
|
||||
secret_token: Optional[str] = None,
|
||||
**data: Any
|
||||
**data: Any,
|
||||
) -> None:
|
||||
"""
|
||||
:param dispatcher: instance of :class:`aiogram.dispatcher.dispatcher.Dispatcher`
|
||||
|
|
@ -217,10 +217,7 @@ class SimpleRequestHandler(BaseRequestHandler):
|
|||
waiting end of handler process
|
||||
:param bot: instance of :class:`aiogram.client.bot.Bot`
|
||||
"""
|
||||
super().__init__(
|
||||
dispatcher=dispatcher,
|
||||
handle_in_background=handle_in_background,
|
||||
**data)
|
||||
super().__init__(dispatcher=dispatcher, handle_in_background=handle_in_background, **data)
|
||||
self.bot = bot
|
||||
self.secret_token = secret_token
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue