Sha256: 32cfef811528f118a7590fe006f84557f7404edde0788ce7404e038ccdd14bd8
Contents?: true
Size: 877 Bytes
Versions: 1
Compression:
Stored size: 877 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultPhoto < Base attribute :type, Types::String.constrained(eql: 'photo').default('photo') attribute :id, Types::String attribute :photo_url, Types::String attribute :thumbnail_url, Types::String attribute? :photo_width, Types::Integer attribute? :photo_height, Types::Integer 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? :show_caption_above_media, Types::Bool 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.1.0 | lib/telegram/bot/types/inline_query_result_photo.rb |