ShippingQuery class

This object contains information about an incoming shipping query.

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

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

ShippingQuery({String? id, User? from, String? invoicePayload, ShippingAddress? shippingAddress})
ShippingQuery.fromJson(Map<String, dynamic> json)
factory

Properties

from ↔ User?
User who sent the query.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
Unique query identifier.
getter/setter pair
invoicePayload ↔ String?
Bot specified invoice payload.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shippingAddress ↔ ShippingAddress?
User specified shipping address.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited