class TelegramBot::Models::PreCheckoutQuery

Overview

https://core.telegram.org/bots/api#precheckoutquery

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

https://core.telegram.org/bots/api#precheckoutquery


[View source]

Instance Method Detail

def currency : String #

[View source]
def currency=(currency : String) #

[View source]
def from : User #

[View source]
def from=(from : User) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def invoice_payload : String #

[View source]
def invoice_payload=(invoice_payload : String) #

[View source]
def order_info : OrderInfo | Nil #

[View source]
def order_info=(order_info : OrderInfo | Nil) #

[View source]
def shipping_option_id : String | Nil #

[View source]
def shipping_option_id=(shipping_option_id : String | Nil) #

[View source]
def total_amount : Int32 #

[View source]
def total_amount=(total_amount : Int32) #

[View source]