Sha256: 6961a58e051aa53b9c45f1083dc203686706ec5725fbc365a3abfe656ab9dcb4

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class PaidMediaPhoto < Base
        attribute :type, Types::String.constrained(eql: 'photo').default('photo')
        attribute :photo, Types::Array.of(PhotoSize)
      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/paid_media_photo.rb