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
shippingQueryId
Identifier of the shipping query
shippingOptions
Available shipping options
errorMessage
An error message, empty on success