mirror of https://github.com/coddrago/Heroku
[+-] maybe inlinequery fix
parent
671fb43d88
commit
d1f43e708c
|
@ -207,7 +207,7 @@ class InlineQuery(AiogramInlineQuery):
|
|||
"""Modified version of original Aiogram InlineQuery"""
|
||||
|
||||
def __init__(self, inline_query: AiogramInlineQuery):
|
||||
super().__init__(self)
|
||||
super().__init__(**inline_query.model_dump())
|
||||
|
||||
for attr in {"id", "from_user", "query", "offset", "chat_type", "location"}:
|
||||
setattr(self, attr, getattr(inline_query, attr, None))
|
||||
|
|
Loading…
Reference in New Issue