Handler send invoice#

Manage send invoice#

Module of send invoice to users.

class send_invoice.ChooseMethodOfPayment(bot, admin_id)[source]#

Class for choose method of payment.

Parameters:
  • bot (Bot) –

  • admin_id (int) –

async __continue_subscribe_premium_with_telegram_stars(call)#

Continue payment. | TelegramStars-Method.

Parameters:

call (CallbackQuery) – Callback Query.

Returns:

None.

Return type:

None

async __continue_subscribe_premium_with_yookassa(call)#

Continue payment. | Yookassa-Method.

Parameters:

call (CallbackQuery) – Callback Query.

Returns:

None.

Return type:

None

async check_pay_yookassa(call)[source]#

Check pay Yookassa.

Parameters:

call (CallbackQuery) – Callback Query.

Returns:

None.

Return type:

None

async choose_step1(call)[source]#

Choose method of payment. Step 1.

Parameters:

call (CallbackQuery) – Callback Query.

Returns:

None.

Return type:

None

class send_invoice.SendInvoice(bot, message)[source]#

Class of the send invoice to users for buy/pay premium-subscription.

Parameters:
  • bot (Bot) –

  • message (aiogram.types.message.Message | aiogram.types.callback_query.CallbackQuery) –

async send_invoice()[source]#

Send Invoice | First pay.

Returns:

None.

Return type:

None

async send_invoice_extend()[source]#

Send invoice | Extend.

Returns:

None.

Return type:

None