TransactionPartnerOther¶
- class telegram.TransactionPartnerOther(*, api_kwargs=None)[source]¶
Bases:
telegram.TransactionPartner
Describes a transaction with an unknown partner.
Added in version 21.4.
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to the appropriate
TransactionPartner
object, i.e. takes care of selecting the correct subclass.- Parameters:
bot (
telegram.Bot
) – The bot associated with this object.
- Returns:
The Telegram object.