TransactionPartner¶
- class aiogram.types.transaction_partner.TransactionPartner(**extra_data: Any)[source]¶
This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of
aiogram.types.transaction_partner_user.TransactionPartnerUseraiogram.types.transaction_partner_fragment.TransactionPartnerFragmentaiogram.types.transaction_partner_telegram_ads.TransactionPartnerTelegramAdsaiogram.types.transaction_partner_telegram_api.TransactionPartnerTelegramApiaiogram.types.transaction_partner_other.TransactionPartnerOther
Source: https://core.telegram.org/bots/api#transactionpartner
- 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.