VKUploadWallPhotoRequest Class Reference

Inherits from VKUploadPhotoBase : VKRequest : VKObject : NSObject
Declared in VKUploadWallPhotoRequest.h
VKUploadWallPhotoRequest.m

Overview

Special request for upload single photo to user wall

– initWithImage:parameters:userId:groupId:

Initializes photo upload request with parameters

- (instancetype)initWithImage:(UIImage *)image parameters:(VKImageParameters *)parameters userId:(NSInteger)userId groupId:(NSInteger)groupId

Parameters

image

Image to upload

parameters

image parameters for upload

userId

ID of user on which wall image should be posted (or nil)

groupId

ID of group (without minus sign) on which wall image should be posted (or nil)

Return Value

Completed request for executing

Discussion

Initializes photo upload request with parameters

Declared In

VKUploadWallPhotoRequest.h