Sha256: 3deae0331698cfdd4fea6ab339b706045761abcafef8c713d062cbe5ec9ee0bb

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Audio < Vk::Schema::Namespace
      module Methods
        # Returns a list of the user's friends and communities that are broadcasting music in their statuses.
        class GetBroadcastList < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'audio.getBroadcastList'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :filter Types of objects to return:; 'friends' — only friends; 'groups' — only communities; 'all' — both friends and communities (default)
          #   @option arguments [Boolean] :active '1' — to return only friends and communities that are broadcasting at the moment.; '0' — to return all friends and communities (default).
          #   @return [Audio::Methods::GetBroadcastList]

          # @!group Arguments

          # @return [String] Types of objects to return:; 'friends' — only friends; 'groups' — only communities; 'all' — both friends and communities (default)
          attribute :filter, API::Types::Coercible::String.optional
          # @return [Boolean] '1' — to return only friends and communities that are broadcasting at the moment.; '0' — to return all friends and communities (default).
          attribute :active, API::Types::Bool.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/audio/methods/get_broadcast_list.rb