Sha256: 4498ec4f7fe1db4a59c8b2f75117483665cfab793ebb24ac252b8511f14c431f

Contents?: true

Size: 883 Bytes

Versions: 3

Compression:

Stored size: 883 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultVideo < Base
        attribute :type, Types::String.default('video')
        attribute :id, Types::String
        attribute :video_url, Types::String
        attribute :mime_type, Types::String
        attribute :thumb_url, Types::String
        attribute :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        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

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_query_result_video.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_video.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_video.rb