Make TelegramMethod objects serializable #1488
torikki-tou
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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