Sha256: 1e1d80621fceda5fad9b4c48b9e0522a9b26c14ebd1b273fcd1f61fd2f79ed0f

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaDocument < Base
        attribute :type, Types::String.constrained(eql: 'document').default('document')
        attribute :media, Types::String
        attribute? :thumbnail, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :disable_content_type_detection, Types::Bool
      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/input_media_document.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/input_media_document.rb