|
Telebot 9.4
Library for Telegram bot API
|
This object contains information about an incoming pre-checkout query. More...
#include <telebot-types.h>
Public Attributes | |
| char * | id |
| struct telebot_user * | from |
| char * | currency |
| int | total_amount |
| char * | invoice_payload |
| char * | shipping_option_id |
| struct telebot_order_info * | order_info |
This object contains information about an incoming pre-checkout query.
| char* telebot_pre_checkout_query::currency |
Three-letter ISO 4217 currency code
| struct telebot_user* telebot_pre_checkout_query::from |
User who sent the query
| char* telebot_pre_checkout_query::id |
Unique query identifier
| char* telebot_pre_checkout_query::invoice_payload |
Bot specified invoice payload
| struct telebot_order_info* telebot_pre_checkout_query::order_info |
Optional. Order info provided by the user
| char* telebot_pre_checkout_query::shipping_option_id |
Optional. Identifier of the shipping option chosen by the user
| int telebot_pre_checkout_query::total_amount |
Total amount in the smallest units of the currency (integer, not float/double).