Giga Images#

Module of generate images for CW PREMIUM-users#

class giga_images.GigaCreator(bot)[source]#

Class of create image for premium-user.

Parameters:

bot (Bot) –

async __check_generate_or_cancel(message, state)#

Check generation.

Parameters:
  • message (Message) – Query from user.

  • state (FSMContext) – FSM.

Returns:

None

Return type:

None

async __handler_query(call)#

Manage of query from premium-user for create image.

Parameters:

call (CallbackQuery) – Call-Query.

Returns:

None.

Return type:

None

async get_query(call, state)[source]#

Func of get query from premium-user for create image.

Parameters:
  • call (CallbackQuery) – Callback Query.

  • state (FSMContext) – FSM.

Returns:

None.

Return type:

None