Class: Telegram::Bot::Types::Base
- Inherits:
-
Object
- Object
- Telegram::Bot::Types::Base
- Defined in:
- lib/telegram/bot/types/base.rb
Direct Known Subclasses
Animation, Audio, CallbackGame, CallbackQuery, Chat, ChatMember, ChatPhoto, ChosenInlineResult, Contact, Document, File, ForceReply, Game, GameHighScore, InlineKeyboardButton, InlineKeyboardMarkup, InlineQuery, InlineQueryResultArticle, InlineQueryResultAudio, InlineQueryResultCachedAudio, InlineQueryResultCachedDocument, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultGame, InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice, InputMessageContent, Invoice, KeyboardButton, LabeledPrice, Location, MaskPosition, Message, MessageEntity, OrderInfo, PhotoSize, PreCheckoutQuery, ReplyKeyboardMarkup, ReplyKeyboardRemove, ShippingAddress, ShippingOption, ShippingQuery, Sticker, StickerSet, SuccessfulPayment, Update, User, UserProfilePhotos, Venue, Video, VideoNote, Voice, WebhookInfo
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
9 10 11 |
# File 'lib/telegram/bot/types/base.rb', line 9 def to_hash(*) super.reject { |_k, v| v.nil? } end |