InputMessageContent¶
- class aiogram.types.input_message_content.InputMessageContent(**extra_data: Any)[source]¶
This object represents the content of a message to be sent as a result of an inline query. Telegram clients currently support the following 5 types:
aiogram.types.input_text_message_content.InputTextMessageContent
aiogram.types.input_location_message_content.InputLocationMessageContent
aiogram.types.input_venue_message_content.InputVenueMessageContent
aiogram.types.input_contact_message_content.InputContactMessageContent
aiogram.types.input_invoice_message_content.InputInvoiceMessageContent
Source: https://core.telegram.org/bots/api#inputmessagecontent
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.