TransactionPartnerTelegramApi

class aiogram.types.transaction_partner_telegram_api.TransactionPartnerTelegramApi(*, type: Literal[TransactionPartnerType.TELEGRAM_API] = TransactionPartnerType.TELEGRAM_API, request_count: int, **extra_data: Any)[source]

Describes a transaction with payment for paid broadcasting.

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

type: Literal[TransactionPartnerType.TELEGRAM_API]

Type of the transaction partner, always ‘telegram_api’

model_post_init(context: Any, /) None

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

request_count: int

The number of successful requests that exceeded regular limits and were therefore billed