ShippingQuery class

This object contains information about an incoming shipping query.

Constructors

ShippingQuery({required String id, required User from, required String invoicePayload, required ShippingAddress shippingAddress})
Basic constructor

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
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) ShippingQuery
Creates a object from a json