Sha256: 229f266c161f9a480bd7d0fae10d970f1cdfe116e5e8a1db4ae5061080022d61

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputMediaAnimation < Base
        attribute :type, Types::String.default('animation')
        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? :width, Types::Integer
        attribute? :height, Types::Integer
        attribute? :duration, Types::Integer
        attribute? :has_spoiler, Types::Bool
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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