InputMedia#

class aiogram.types.input_media.InputMedia(**extra_data: Any)[source]#

This object represents the content of a media message to be sent. It should be one of

Source: https://core.telegram.org/bots/api#inputmedia

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(_ModelMetaclass__context: Any) None#

We need to both initialize private attributes and call the user-defined model_post_init method.