Sha256: 43e9b5acdea92d853e754e6a0ffefd8738424965dc15e412bea08dd9fd4d4445
Contents?: true
Size: 711 Bytes
Versions: 2
Compression:
Stored size: 711 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultArticle < Base attribute :type, Types::String.constrained(eql: 'article').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? :thumbnail_url, Types::String attribute? :thumbnail_width, Types::Integer attribute? :thumbnail_height, Types::Integer end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-2.1.0 | lib/telegram/bot/types/inline_query_result_article.rb |
telegram-bot-ruby-2.0.0 | lib/telegram/bot/types/inline_query_result_article.rb |