13 lines
483 B
Go
13 lines
483 B
Go
package models
|
|
|
|
// PreCheckoutQuery https://core.telegram.org/bots/api#precheckoutquery
|
|
type PreCheckoutQuery struct {
|
|
ID string `json:"id"`
|
|
From *User `json:"from"`
|
|
Currency string `json:"currency"`
|
|
TotalAmount int `json:"total_amount"`
|
|
InvoicePayload string `json:"invoice_payload"`
|
|
ShippingOptionID string `json:"shipping_option_id,omitempty"`
|
|
OrderInfo *OrderInfo `json:"order_info,omitempty"`
|
|
}
|