Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tourmaline
v0.16.0
Tourmaline
Animation
Audio
BotCommand
Button
CallbackGame
CallbackQuery
Chat
ChatAction
ChatMember
ChatPermissions
ChatPhoto
ChosenInlineResult
Client
Command
CommandFilter
Contact
Dice
Document
Error
BadRequest
ChatMigrated
Conflict
InvalidToken
NetworkError
RetryAfter
TimedOut
Unauthorized
EventHandler
Annotator
Filter
FilterGroup
ForceReply
Game
GameHighScore
HashPersistence
Hears
Helpers
InlineKeyboardButton
InlineKeyboardMarkup
InlineQuery
InlineQueryFilter
InlineQueryResult
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
InputContactMessageContent
InputLocationMessageContent
InputMedia
InputMediaAnimation
InputMediaAudio
InputMediaDocument
InputMediaPhoto
InputMediaVideo
InputMessageContent
InputTextMessageContent
InputVenueMessageContent
Invoice
JsonPersistence
KemalAdapter
TGModel
KeyboardButton
KeyboardButtonPollType
LabeledPrice
LocaleFilter
Location
Logger
LoginURL
Markup
MaskPosition
Message
MessageEntity
On
OnCallbackQuery
OnChosenInlineResult
OnInlineQuery
OrderInfo
ParseMode
Persistence
PhotoSize
Poll
PollAnswer
PollOption
PollType
PreCheckoutQuery
QueryResultBuilder
RegexFilter
ReplyKeyboardMarkup
ReplyKeyboardRemove
ShippingAddress
ShippingOption
ShippingQuery
Sticker
StickerSet
SuccessfulPayment
TFile
Update
UpdateAction
UpdateContext
User
UserProfilePhotos
Venue
Video
VideoNote
Voice
WebhookInfo
Built with Crystal 1.9.2
2023-10-08 05:56:22 UTC
class
Tourmaline::BotCommand
Tourmaline::BotCommand
Reference
Object
Included Modules
JSON::Serializable
Defined in:
tourmaline/models/bot_command.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#command
: String
#description
: String
#to_h
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
command
: String
#
[
View source
]
def
description
: String
#
[
View source
]
def
to_h
#
[
View source
]