mini_apps.apps.glaximini.app
- class mini_apps.apps.glaximini.app.Glaximini(*args)
Bases:
App
- async handle_message(client: Client, type: str, data: dict)
Handles messages received from the client
- async help(text: str, event: NewMessage)
Shows a description of the Mini App user interface
- inline_buttons()
Returns the telegram inline button that opens the web app
- async on_telegram_inline(query: InlineQuery)
Called on telegram bot inline queries
- async on_telegram_start(args: str, event: NewMessage)
Called when a user sends /start to the bot
- register_models()
Registers the database models