TransactionPartnerTelegramAds

class aiogram.types.transaction_partner_telegram_ads.TransactionPartnerTelegramAds(*, type: Literal[TransactionPartnerType.TELEGRAM_ADS] = TransactionPartnerType.TELEGRAM_ADS, **extra_data: Any)[source]

Describes a withdrawal transaction to the Telegram Ads platform.

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

type: Literal[TransactionPartnerType.TELEGRAM_ADS]

Type of the transaction partner, always ‘telegram_ads’

model_post_init(context: Any, /) None

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