Sha256: 0ad3a8320a5c9859060114951a2f6cb3d909d9d8536f8f0dce0962e5e0da1cea

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultPhoto < Base
        attribute :type, Types::String.default('photo')
        attribute :id, Types::String
        attribute :photo_url, Types::String
        attribute :thumb_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? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_query_result_photo.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_photo.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_photo.rb