Sha256: 0d4d129541948b042d8c0e27a0253941018aff142ba103bb10a4cafe24d6d5e7

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaDocument < Base
        attribute :type, Types::String.default('document')
        attribute :media, Types::String
        attribute? :thumb, 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

3 entries across 3 versions & 1 rubygems

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