Sha256: 350838963a6ecf9904eb4abe1beacb5b3c3f075f2d2557cfc8571f7761f14f5c
Contents?: true
Size: 883 Bytes
Versions: 2
Compression:
Stored size: 883 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultDocument < Base attribute :type, Types::String.constrained(eql: 'document').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? :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_document.rb |
telegram-bot-ruby-2.0.0 | lib/telegram/bot/types/inline_query_result_document.rb |