AnswerShippingQuery
public struct AnswerShippingQuery : Codable, Equatable, TDFunction
Sets the result of a shipping query; for bots only
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Identifier of the shipping query
Declaration
Swift
public let shippingQueryId: TDInt64 -
Available shipping options
Declaration
Swift
public let shippingOptions: [ShippingOption] -
An error message, empty on success
Declaration
Swift
public let errorMessage: String -
Sets the result of a shipping query; for bots only
Declaration
Swift
public init(shippingQueryId: TDInt64, shippingOptions: [ShippingOption], errorMessage: String)Parameters
shippingQueryIdIdentifier of the shipping query
shippingOptionsAvailable shipping options
errorMessageAn error message, empty on success
View on GitHub
Install in Dash
AnswerShippingQuery Structure Reference