Sha256: 7c5a8c558207b7c1c549892add91c3b277b38bb910d6e4f223183429fa2e0f9e

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

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

module Vk
  module API
    class Status < Vk::Schema::Namespace
      module Methods
        # Returns data required to show the status of a user or community.
        class Get < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'status.get'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id User ID or community ID. Use a negative value to designate a community ID.
          #   @option arguments [Integer] :group_id @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          #   @return [Status::Methods::Get]

          # @!group Arguments

          # @return [Integer] User ID or community ID. Use a negative value to designate a community ID.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Integer] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          attribute :group_id, API::Types::Coercible::Int.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/status/methods/get.rb