mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-16 04:05:47 +00:00
prepare updates
This commit is contained in:
parent
4d0ffa7b58
commit
4fce1cefe6
1 changed files with 1 additions and 1 deletions
|
|
@ -77,4 +77,4 @@ class AIOGramBot:
|
|||
payload['allowed_updates'] = allowed_updates
|
||||
|
||||
raw = await self.request(ApiMethods.GET_UPDATES, payload)
|
||||
return [Update.de_json(raw_update) for raw_update in raw]
|
||||
return [self._prepare_object(Update.de_json(raw_update)) for raw_update in raw]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue