Open Sidebar
Close Sidebar
telegram_bot
0.5.0
Fiber
TelegramBot
Animation
APIException
Audio
Bot
ReplyMarkup
BotCommand
CallbackGame
CallbackQuery
Chat
ChatMember
ChatPhoto
ChosenInlineResult
CmdHandler
Contact
Document
File
ForceReply
Game
GameHighScore
HttpClient
InlineKeyboardButton
InlineKeyboardMarkup
InlineQuery
InlineQueryResult
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
InputContactMessageContent
InputLocationMessageContent
InputMedia
InputMediaPhoto
InputMediaVideo
InputMessageContent
InputTextMessageContent
InputVenueMessageContent
Invoice
KeyboardButton
LabeledPrice
Location
MaskPosition
Message
MessageEntity
OrderInfo
PhotoSize
PreCheckoutQuery
ReplyKeyboardMarkup
ReplyKeyboardRemove
ResponseClient
ShippingAddress
ShippingOption
ShippingQuery
Sticker
StickerSet
SuccessfulPayment
Update
User
UserProfilePhoto
Venue
Video
VideoNote
Voice
class
TelegramBot::
LabeledPrice
TelegramBot::LabeledPrice
Reference
Object
Included Modules
JSON::Serializable
Defined in:
telegram_bot/types/labeled_price.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#amount
: Int32
#amount=
(amount : Int32)
#label
: String
#label=
(label : String)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
Instance Method Detail
def
amount
: Int32
#
def
amount=
(amount : Int32)
#
def
label
: String
#
def
label=
(label : String)
#