C# Class kasthack.vksharp.RawApi.MethodGroup_Photos

Mostrar archivo Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
ConfirmTag ( int tagId, long photoId, int ownerId = null ) : Task
Copy ( long photoId, int ownerId = null, string accessKey = "" ) : Task
CreateAlbum ( string title, string description = "", int groupId = null, PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : Task
Delete ( long photoId, int ownerId = null ) : Task
DeleteAlbum ( long albumId, int groupId = null ) : Task
DeleteComment ( int commentId, int ownerId = null ) : Task
Edit ( long photoId, int ownerId = null, string caption = "" ) : Task
EditAlbum ( long albumId, int ownerId = null, string title = "", string description = "", PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : Task
Get ( SpecialAlbum albumId, int ownerId = null, int photoIds = null, bool rev = true, bool extended = false, FeedType feedType = null, int feed = null, int offset = null, int count = 100 ) : Task
Get ( long albumId = null, int ownerId = null, int photoIds = null, bool rev = true, bool extended = false, FeedType feedType = null, int feed = null, int offset = null, int count = 100 ) : Task
GetAlbums ( int ownerId = null, bool needSystem = true, bool needCovers = true, int offset = null, int count = 100 ) : Task
GetAlbumsCount ( int userId = null, int groupId = null ) : Task
GetAll ( int ownerId = null, bool extended = false, bool noServiceAlbums = false, bool needHidden = null, bool skipHidden = null, int offset = null, int count = 100 ) : Task
GetById ( ) : Task
GetChatUploadServer ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : Task
GetOwnerPhotoUploadServer ( ) : Task
GetTags ( long photoId, int ownerId = null, string accessKey = "" ) : Task
GetUploadServer ( long albumId, int groupId = null ) : Task
MakeCover ( long albumId, long photoId, int ownerId = null ) : Task
Move ( long targetAlbumId, long photoId, int ownerId = null ) : Task
RemoveTag ( int tagId, long photoId, int ownerId = null ) : Task
ReorderAlbums ( long albumId, int ownerId = null, long before = null, long after = null ) : Task
ReorderPhotos ( long photoId, int ownerId = null, long before = null, long after = null ) : Task
Report ( long photoId, int ownerId = null, ReportReason reason = null ) : Task
ReportComment ( int commentId, int ownerId = null, ReportReason reason = null ) : Task
Restore ( int ownerId, long photoId ) : Task
RestoreComment ( int commentId, int ownerId = null ) : Task
Save ( long albumId, string server, string photosList, string hash, int groupId = null, double latitude = null, double longitude = null, string caption = "", string description = "" ) : Task

Private Methods

Method Description
MethodGroup_Photos ( RawApi parent ) : System

Method Details

ConfirmTag() public method

public ConfirmTag ( int tagId, long photoId, int ownerId = null ) : Task
tagId int
photoId long
ownerId int
return Task

Copy() public method

public Copy ( long photoId, int ownerId = null, string accessKey = "" ) : Task
photoId long
ownerId int
accessKey string
return Task

CreateAlbum() public method

public CreateAlbum ( string title, string description = "", int groupId = null, PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : Task
title string
description string
groupId int
privacy PrivacyType
commentPrivacy PrivacyType
return Task

Delete() public method

public Delete ( long photoId, int ownerId = null ) : Task
photoId long
ownerId int
return Task

DeleteAlbum() public method

public DeleteAlbum ( long albumId, int groupId = null ) : Task
albumId long
groupId int
return Task

DeleteComment() public method

public DeleteComment ( int commentId, int ownerId = null ) : Task
commentId int
ownerId int
return Task

Edit() public method

public Edit ( long photoId, int ownerId = null, string caption = "" ) : Task
photoId long
ownerId int
caption string
return Task

EditAlbum() public method

public EditAlbum ( long albumId, int ownerId = null, string title = "", string description = "", PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : Task
albumId long
ownerId int
title string
description string
privacy PrivacyType
commentPrivacy PrivacyType
return Task

Get() public method

public Get ( SpecialAlbum albumId, int ownerId = null, int photoIds = null, bool rev = true, bool extended = false, FeedType feedType = null, int feed = null, int offset = null, int count = 100 ) : Task
albumId SpecialAlbum
ownerId int
photoIds int
rev bool
extended bool
feedType FeedType
feed int
offset int
count int
return Task

Get() public method

public Get ( long albumId = null, int ownerId = null, int photoIds = null, bool rev = true, bool extended = false, FeedType feedType = null, int feed = null, int offset = null, int count = 100 ) : Task
albumId long
ownerId int
photoIds int
rev bool
extended bool
feedType FeedType
feed int
offset int
count int
return Task

GetAlbums() public method

public GetAlbums ( int ownerId = null, bool needSystem = true, bool needCovers = true, int offset = null, int count = 100 ) : Task
ownerId int
needSystem bool
needCovers bool
offset int
count int
return Task

GetAlbumsCount() public method

public GetAlbumsCount ( int userId = null, int groupId = null ) : Task
userId int
groupId int
return Task

GetAll() public method

public GetAll ( int ownerId = null, bool extended = false, bool noServiceAlbums = false, bool needHidden = null, bool skipHidden = null, int offset = null, int count = 100 ) : Task
ownerId int
extended bool
noServiceAlbums bool
needHidden bool
skipHidden bool
offset int
count int
return Task

GetById() public method

public GetById ( ) : Task
return Task

GetChatUploadServer() public method

public GetChatUploadServer ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : Task
chatId int
cropX int
cropY int
cropWidth int
return Task

GetOwnerPhotoUploadServer() public method

public GetOwnerPhotoUploadServer ( ) : Task
return Task

GetTags() public method

public GetTags ( long photoId, int ownerId = null, string accessKey = "" ) : Task
photoId long
ownerId int
accessKey string
return Task

GetUploadServer() public method

public GetUploadServer ( long albumId, int groupId = null ) : Task
albumId long
groupId int
return Task

MakeCover() public method

public MakeCover ( long albumId, long photoId, int ownerId = null ) : Task
albumId long
photoId long
ownerId int
return Task

Move() public method

public Move ( long targetAlbumId, long photoId, int ownerId = null ) : Task
targetAlbumId long
photoId long
ownerId int
return Task

RemoveTag() public method

public RemoveTag ( int tagId, long photoId, int ownerId = null ) : Task
tagId int
photoId long
ownerId int
return Task

ReorderAlbums() public method

public ReorderAlbums ( long albumId, int ownerId = null, long before = null, long after = null ) : Task
albumId long
ownerId int
before long
after long
return Task

ReorderPhotos() public method

public ReorderPhotos ( long photoId, int ownerId = null, long before = null, long after = null ) : Task
photoId long
ownerId int
before long
after long
return Task

Report() public method

public Report ( long photoId, int ownerId = null, ReportReason reason = null ) : Task
photoId long
ownerId int
reason ReportReason
return Task

ReportComment() public method

public ReportComment ( int commentId, int ownerId = null, ReportReason reason = null ) : Task
commentId int
ownerId int
reason ReportReason
return Task

Restore() public method

public Restore ( int ownerId, long photoId ) : Task
ownerId int
photoId long
return Task

RestoreComment() public method

public RestoreComment ( int commentId, int ownerId = null ) : Task
commentId int
ownerId int
return Task

Save() public method

public Save ( long albumId, string server, string photosList, string hash, int groupId = null, double latitude = null, double longitude = null, string caption = "", string description = "" ) : Task
albumId long
server string
photosList string
hash string
groupId int
latitude double
longitude double
caption string
description string
return Task