Sha256: af8056bb780280f7f102deb54b078369af6277f8d9a8250bc8c592500a5a20e8

Contents?: true

Size: 842 Bytes

Versions: 3

Compression:

Stored size: 842 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultDocument < Base
        attribute :type, Types::String.default('document')
        attribute :id, Types::String
        attribute :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute :document_url, Types::String
        attribute :mime_type, Types::String
        attribute? :description, Types::String
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
        attribute? :thumb_url, Types::String
        attribute? :thumb_width, Types::Integer
        attribute? :thumb_height, Types::Integer
      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_document.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_document.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_document.rb