Class: Vk::API::Docs::Methods::GetWallUploadServer

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/docs/methods/get_wall_upload_server.rb

Overview

Returns the server address for document upload onto a user's or community's wall.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Docs::Methods::GetWallUploadServer

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID (if the document will be uploaded to the community).



# File 'lib/vk/api/docs/methods/get_wall_upload_server.rb', line 15

Instance Method Details

#group_idInteger

Returns Community ID (if the document will be uploaded to the community).

Returns:

  • (Integer)

    Community ID (if the document will be uploaded to the community).



23
# File 'lib/vk/api/docs/methods/get_wall_upload_server.rb', line 23

attribute :group_id, API::Types::Coercible::Int.optional.default(nil)