RevenueWithdrawalStateFailed¶
- class aiogram.types.revenue_withdrawal_state_failed.RevenueWithdrawalStateFailed(*, type: Literal[RevenueWithdrawalStateType.FAILED] = RevenueWithdrawalStateType.FAILED, **extra_data: Any)[source]¶
The withdrawal failed and the transaction was refunded.
Source: https://core.telegram.org/bots/api#revenuewithdrawalstatefailed
- type: Literal[RevenueWithdrawalStateType.FAILED]¶
Type of the state, always ‘failed’
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.