TransactionPartnerTelegramAds¶
- class telegram.TransactionPartnerTelegramAds(*, api_kwargs=None)[source]¶
Bases:
telegram.TransactionPartnerDescribes a withdrawal transaction to the Telegram Ads platform.
Added in version 21.4.
- type[source]¶
The type of the transaction partner, always
'telegram_ads'.- Type:
str
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to the appropriate
TransactionPartnerobject, i.e. takes care of selecting the correct subclass.- Parameters:
data (Dict[
str, …]) – The JSON data.bot (
telegram.Bot) – The bot associated with this object.
- Returns:
The Telegram object.