Class: Vk::API::Photos::Methods::GetOwnerPhotoUploadServer
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::GetOwnerPhotoUploadServer
- Defined in:
- lib/vk/api/photos/methods/get_owner_photo_upload_server.rb
Overview
Returns an upload server address for a profile or community photo.
Arguments collapse
-
#owner_id ⇒ Integer
Identifier of a community or current user.; ; "Note that community id must be negative.; 'owner_id=1' – user; 'owner_id=-1' – community; ".
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::GetOwnerPhotoUploadServer
|
# File 'lib/vk/api/photos/methods/get_owner_photo_upload_server.rb', line 15
|
Instance Method Details
#owner_id ⇒ Integer
Returns identifier of a community or current user.; ; "Note that community id must be negative.; 'owner_id=1' – user; 'owner_id=-1' – community; ".
23 |
# File 'lib/vk/api/photos/methods/get_owner_photo_upload_server.rb', line 23 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |