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
@JrooTJunior
As far as i understood, link_preview_is_disabled is bot parameter, not message. Message object just inherits the value from the bot, when it is sent. But the Message objects are not connected to a Bot object, so we cant really get link_preview_is_disabled value before the message is sent. So there is no way to serialize this value before the message is sent using a Bot object, therefore i think its ok to serialize those variables without a particular value. I just need to be sure that those objects are deserialized in a right way. I'll try to update that PR))
Checklist
Operating system
Windows 11
Python version
3.11
aiogram version
3.4.1
Expected behavior
Correctly serialized json of Message object
Current behavior
Seems like aiogram doesn't properly describe pydantic Default class for link_preview_options.
Steps to reproduce
Code example
Logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: