ShippingQuery#

class aiogram.types.shipping_query.ShippingQuery(*, id: str, from_user: User, invoice_payload: str, shipping_address: ShippingAddress, **extra_data: Any)[source]#

This object contains information about an incoming shipping query.

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

id: str#

Unique query identifier

from_user: User#

User who sent the query

invoice_payload: str#

Bot specified invoice payload

shipping_address: ShippingAddress#

User specified shipping address

answer(ok: bool, shipping_options: Optional[List[ShippingOption]] = None, error_message: Optional[str] = None) AnswerShippingQuery[source]#
Parameters
  • ok

  • shipping_options

  • error_message

Returns