Handler refund#
Manage refund#
Refunding module.
- class refund.Refund(bot)[source]#
Class of a refund.
- Parameters:
bot (Bot) –
- async __emergency_refunding_step1(call, state)#
Emergency Refund by admin. | Step 1 | Confirmation.
- Parameters:
call (CallbackQuery) – Callback Query.
state (FSMContext) – FSM.
- Returns:
None.
- Return type:
None
- async __emergency_refunding_step2(message, state)#
Emergency Refund by admin. | Step 2 | Confirmation.
- Parameters:
message (Message) – UserID.
state (FSMContext) – FSM.
- Returns:
None.
- Return type:
None
- async __refunding_step2_confirmation(message, state)#
Refunding star(-s) to user | Step 2 - Confirmation.
- Parameters:
message (Message) – Token from user.
state (FSMContext) – FSM.
- Returns:
None.
- Return type:
None
- async __refunding_step3(call)#
Refunding. The admin has confirmed the actions.
- Parameters:
call (CallbackQuery) – Callback Query.
- Returns:
None.
- Return type:
None