Class: Vk::API::Photos::Methods::GetWallUploadServer

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

Overview

Returns the server address for photo upload onto a user's wall.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of community to whose wall the photo will be uploaded.


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

Instance Method Details

#group_idInteger

Returns ID of community to whose wall the photo will be uploaded.

Returns:

  • (Integer)

    ID of community to whose wall the photo will be uploaded.


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

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