class TelegramBot::GiftInfo

Included Modules

Defined in:

telegram_bot/types/gift.cr

Constructors

Instance Method Summary

Constructor Detail

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_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 text : String | Nil #

def text=(text : String | Nil) #

def unique_gift_number : Int32 | Nil #

def unique_gift_number=(unique_gift_number : Int32 | Nil) #