You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to log out all of my Telegram Bot API call to be able to track and debug my bot`s answers. However i can not do that or at least cant be guarantied it will not break.
I get: pydantic_core._pydantic_core.PydanticSerializationError: Error serializing to JSON: PydanticSerializationError: Unable to serialize unknown type: <class 'aiogram.client.default.Default'>
My proposal is to add proper serialization interface for TelegramMethod objects that guaranties serialization of all useful information
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to log out all of my Telegram Bot API call to be able to track and debug my bot`s answers. However i can not do that or at least cant be guarantied it will not break.
Here is the example:
I get:
pydantic_core._pydantic_core.PydanticSerializationError: Error serializing to JSON: PydanticSerializationError: Unable to serialize unknown type: <class 'aiogram.client.default.Default'>
My proposal is to add proper serialization interface for TelegramMethod objects that guaranties serialization of all useful information
Beta Was this translation helpful? Give feedback.
All reactions