TransactionPartnerTelegramApi

class telegram.TransactionPartnerTelegramApi(request_count, *, api_kwargs=None)[source]

Bases: telegram.TransactionPartner

Describes a transaction with payment for paid broadcasting.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their request_count is equal.

Added in version 21.7.

Parameters:

request_count (int) – The number of successful requests that exceeded regular limits and were therefore billed.

type[source]

The type of the transaction partner, always 'telegram_api'.

Type:

str

request_count[source]

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

Type:

int