Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
telegram_bot
v0.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
Generated using Crystal 1.14.0
2024-11-26 10:43:12 UTC
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)
#
[
View source
]
Instance Method Detail
def
amount
: Int32
#
[
View source
]
def
amount=
(amount : Int32)
#
[
View source
]
def
label
: String
#
[
View source
]
def
label=
(label : String)
#
[
View source
]