RevenueWithdrawalStateFailed¶
- class telegram.RevenueWithdrawalStateFailed(*, api_kwargs=None)[source]¶
Bases:
telegram.RevenueWithdrawalStateThe withdrawal failed and the transaction was refunded.
Added in version 21.4.
- classmethod de_json(data, bot=None)[source]¶
Converts JSON data to a Telegram object.
- Parameters:
data (Dict[
str, …]) – The JSON data.bot (
telegram.Bot, optional) –The bot associated with this object. Defaults to
None, in which case shortcut methods will not be available.Changed in version 21.4:
botis now optional and defaults toNone
- Returns:
The Telegram object.