WidgetQueryTypeData

class aiogram.types.widget_query_type_data.WidgetQueryTypeData(*, type: Literal['data'] = 'data', wallet_card: TonWalletCard | None = None, **extra_data: Any)[source]

The query contains data for the bot.

Source: https://core.telegram.org/bots/api#widgetquerytypedata

type: Literal['data']

Type of the query, always ‘data’

wallet_card: TonWalletCard | None

Optional. TON wallet card of the user who sent the query, if it was sent to the bot along with the query