Exemplo n.º 1
0
Arquivo: VKApi.cs Projeto: NGWeb/VkApi
 /**
  * Upload a specified file to VK servers for posting on user or group wall
  * @param image Special image object to upload
  * @param userId User wall id or 0
  * @param groupId Group id or 0
  * @return Prepared vk request for photo upload
  */
 public static VKUploadWallPhotoRequest UploadWallPhotoRequest(VKUploadImage image, long userId, int groupId, IRequestFactory factory)
 {
     return new VKUploadWallPhotoRequest(image, userId, groupId,factory);
 }
Exemplo n.º 2
0
Arquivo: VKApi.cs Projeto: NGWeb/VkApi
 /**
  * Upload a specified file to VK servers and saves it into the album
  * @param image Special image object to upload
  * @param albumId Album id to upload. Must be specified
  * @param groupId Group id or 0
  * @return Prepared vk request for photo upload
  */
 public static AbstractRequest UploadAlbumPhotoRequest(VKUploadImage image, long albumId, int groupId, IRequestFactory factory)
 {
     return new VKUploadAlbumPhotoRequest(image, albumId, groupId,factory);
 }