Sha256: f5d0a0542700aa68db6c7bc15e7a9bfcaf343504a1ecc9f526fb35f8e8b40b8c

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultArticle < Base
        attribute :type, Types::String.default('article')
        attribute :id, Types::String
        attribute :title, Types::String
        attribute :input_message_content, InputMessageContent
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :url, Types::String
        attribute? :hide_url, Types::Bool
        attribute? :description, Types::String
        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_article.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_article.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_article.rb