Sha256: 5a266a6840a0cac1c5cf4c0322eac34cab37301924c951280b587af9c87b5ef6
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultCachedPhoto < Base attribute :type, Types::String.constrained(eql: 'photo').default('photo') attribute :id, Types::String attribute :photo_file_id, Types::String attribute? :title, Types::String attribute? :description, Types::String attribute? :caption, Types::String attribute? :parse_mode, Types::String attribute? :caption_entities, Types::Array.of(MessageEntity) attribute? :reply_markup, InlineKeyboardMarkup attribute? :input_message_content, InputMessageContent end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-2.0.0 | lib/telegram/bot/types/inline_query_result_cached_photo.rb |