RevenueWithdrawalStateFailed¶
- class telegram.RevenueWithdrawalStateFailed(*, api_kwargs=None)[source]¶
Bases:
telegram.RevenueWithdrawalState
The withdrawal failed and the transaction was refunded.
Available In
Added in version 21.4.
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to the appropriate
RevenueWithdrawalState
object, i.e. takes care of selecting the correct subclass.- Parameters:
bot (
telegram.Bot
) – The bot associated with this object.
- Returns:
The Telegram object.