Sha256: fbe8e681dd8d1aad27825325c7d63f3fffb1417a7cc2ecabecdec5b380feedf6

Contents?: true

Size: 971 Bytes

Versions: 1

Compression:

Stored size: 971 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultVideo < Base
        attribute :type, Types::String.constrained(eql: 'video').default('video')
        attribute :id, Types::String
        attribute :video_url, Types::String
        attribute :mime_type, Types::String
        attribute :thumbnail_url, Types::String
        attribute :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :show_caption_above_media, Types::Bool
        attribute? :video_width, Types::Integer
        attribute? :video_height, Types::Integer
        attribute? :video_duration, Types::Integer
        attribute? :description, Types::String
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/inline_query_result_video.rb