class TelegramBot::OwnedGiftRegular

Included Modules

Defined in:

telegram_bot/types/gift.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::OwnedGift

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::OwnedGift

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

def self.new(gift : Gift, send_date : Int32, owned_gift_id : String | Nil = nil, sender_user : User | Nil = nil, text : String | Nil = nil, entities : Array(MessageEntity) | Nil = nil, is_private : Bool | Nil = nil, is_saved : Bool | Nil = nil, can_be_upgraded : Bool | Nil = nil, was_refunded : Bool | Nil = nil, convert_star_count : Int32 | Nil = nil, prepaid_upgrade_star_count : Int32 | Nil = nil, is_upgrade_separate : Bool | Nil = nil, unique_gift_number : Int32 | Nil = nil) #

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

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def can_be_upgraded=(can_be_upgraded : Bool | Nil) #

def can_be_upgraded? : Bool | Nil #

def convert_star_count : Int32 | Nil #

def convert_star_count=(convert_star_count : Int32 | Nil) #

def entities : Array(MessageEntity) | Nil #

def entities=(entities : Array(MessageEntity) | Nil) #

def gift : Gift #

def gift=(gift : Gift) #

def is_private=(is_private : Bool | Nil) #

def is_private? : Bool | Nil #

def is_saved=(is_saved : Bool | Nil) #

def is_saved? : Bool | Nil #

def is_upgrade_separate=(is_upgrade_separate : Bool | Nil) #

def is_upgrade_separate? : Bool | Nil #

def owned_gift_id : String | Nil #

def owned_gift_id=(owned_gift_id : String | Nil) #

def prepaid_upgrade_star_count : Int32 | Nil #

def prepaid_upgrade_star_count=(prepaid_upgrade_star_count : Int32 | Nil) #

def send_date : Int32 #

def send_date=(send_date : Int32) #

def sender_user : User | Nil #

def sender_user=(sender_user : User | Nil) #

def text : String | Nil #

def text=(text : String | Nil) #

def type : String #

def type=(type : String) #

def unique_gift_number : Int32 | Nil #

def unique_gift_number=(unique_gift_number : Int32 | Nil) #

def was_refunded=(was_refunded : Bool | Nil) #

def was_refunded? : Bool | Nil #