C# Class kasthack.vksharp.Api.MethodGroup_Photos

ファイルを表示 Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
ConfirmTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
ConfirmTagSync ( int tagId, long photoId, int ownerId = null ) : void
Copy ( long photoId, int ownerId = null, string accessKey = "" ) : Task
CopySync ( long photoId, int ownerId = null, string accessKey = "" ) : long
CreateAlbum ( string title, string description = "", int groupId = null, PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : Task
CreateAlbumSync ( string title, string description = "", int groupId = null, PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : PhotoAlbum
Delete ( long photoId, int ownerId = null ) : System.Threading.Tasks.Task
DeleteAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task
DeleteAlbumSync ( long albumId, int groupId = null ) : void
DeleteComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
DeleteCommentSync ( int commentId, int ownerId = null ) : void
DeleteSync ( long photoId, int ownerId = null ) : void
Edit ( long photoId, int ownerId = null, string caption = "" ) : System.Threading.Tasks.Task
EditAlbum ( long albumId, int ownerId = null, string title = "", string description = "", PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : System.Threading.Tasks.Task
EditAlbumSync ( long albumId, int ownerId = null, string title = "", string description = "", PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : void
EditSync ( long photoId, int ownerId = null, string caption = "" ) : void
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
GetAlbumsCountSync ( int userId = null, int groupId = null ) : int
GetAlbumsSync ( int ownerId = null, bool needSystem = true, bool needCovers = true, int offset = null, int count = 100 ) : EntityList
GetAll ( int ownerId = null, bool extended = false, bool noServiceAlbums = false, bool needHidden = null, bool skipHidden = null, int offset = null, int count = 100 ) : Task>
GetAllSync ( int ownerId = null, bool extended = false, bool noServiceAlbums = false, bool needHidden = null, bool skipHidden = null, int offset = null, int count = 100 ) : EntityList
GetById ( ) : Task
GetByIdSync ( ) : kasthack.vksharp.DataTypes.Entities.Photo[]
GetChatUploadServer ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : Task
GetChatUploadServerSync ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : PhotosUploadServer
GetOwnerPhotoUploadServer ( ) : Task
GetOwnerPhotoUploadServerSync ( ) : string
GetSync ( 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 ) : EntityList
GetSync ( 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 ) : EntityList
GetTags ( long photoId, int ownerId = null, string accessKey = "" ) : Task
GetTagsSync ( long photoId, int ownerId = null, string accessKey = "" ) : kasthack.vksharp.DataTypes.Entities.PhotoTag[]
GetUploadServer ( long albumId, int groupId = null ) : Task
GetUploadServerSync ( long albumId, int groupId = null ) : PhotosUploadServer
MakeCover ( long albumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
MakeCoverSync ( long albumId, long photoId, int ownerId = null ) : void
Move ( long targetAlbumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
MoveSync ( long targetAlbumId, long photoId, int ownerId = null ) : void
RemoveTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
RemoveTagSync ( int tagId, long photoId, int ownerId = null ) : void
ReorderAlbums ( long albumId, int ownerId = null, long before = null, long after = null ) : System.Threading.Tasks.Task
ReorderAlbumsSync ( long albumId, int ownerId = null, long before = null, long after = null ) : void
ReorderPhotos ( long photoId, int ownerId = null, long before = null, long after = null ) : System.Threading.Tasks.Task
ReorderPhotosSync ( long photoId, int ownerId = null, long before = null, long after = null ) : void
Report ( long photoId, int ownerId = null, ReportReason reason = null ) : System.Threading.Tasks.Task
ReportComment ( int commentId, int ownerId = null, ReportReason reason = null ) : System.Threading.Tasks.Task
ReportCommentSync ( int commentId, int ownerId = null, ReportReason reason = null ) : void
ReportSync ( long photoId, int ownerId = null, ReportReason reason = null ) : void
Restore ( int ownerId, long photoId ) : System.Threading.Tasks.Task
RestoreComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
RestoreCommentSync ( int commentId, int ownerId = null ) : void
RestoreSync ( int ownerId, long photoId ) : void
Save ( long albumId, string server, string photosList, string hash, int groupId = null, double latitude = null, double longitude = null, string caption = "", string description = "" ) : Task
SaveSync ( long albumId, string server, string photosList, string hash, int groupId = null, double latitude = null, double longitude = null, string caption = "", string description = "" ) : kasthack.vksharp.DataTypes.Entities.Photo[]

Private Methods

Method Description
MethodGroup_Photos ( Api parent ) : System

Method Details

ConfirmTag() public method

public ConfirmTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
tagId int
photoId long
ownerId int
return System.Threading.Tasks.Task

ConfirmTagSync() public method

public ConfirmTagSync ( int tagId, long photoId, int ownerId = null ) : void
tagId int
photoId long
ownerId int
return void

Copy() public method

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

CopySync() public method

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

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

CreateAlbumSync() public method

public CreateAlbumSync ( string title, string description = "", int groupId = null, PrivacyType privacy = null, PrivacyType commentPrivacy = null ) : PhotoAlbum
title string
description string
groupId int
privacy PrivacyType
commentPrivacy PrivacyType
return kasthack.vksharp.DataTypes.Entities.PhotoAlbum

Delete() public method

public Delete ( long photoId, int ownerId = null ) : System.Threading.Tasks.Task
photoId long
ownerId int
return System.Threading.Tasks.Task

DeleteAlbum() public method

public DeleteAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task
albumId long
groupId int
return System.Threading.Tasks.Task

DeleteAlbumSync() public method

public DeleteAlbumSync ( long albumId, int groupId = null ) : void
albumId long
groupId int
return void

DeleteComment() public method

public DeleteComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
return System.Threading.Tasks.Task

DeleteCommentSync() public method

public DeleteCommentSync ( int commentId, int ownerId = null ) : void
commentId int
ownerId int
return void

DeleteSync() public method

public DeleteSync ( long photoId, int ownerId = null ) : void
photoId long
ownerId int
return void

Edit() public method

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

EditAlbum() public method

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

EditAlbumSync() public method

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

EditSync() public method

public EditSync ( long photoId, int ownerId = null, string caption = "" ) : void
photoId long
ownerId int
caption string
return void

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

GetAlbumsCountSync() public method

public GetAlbumsCountSync ( int userId = null, int groupId = null ) : int
userId int
groupId int
return int

GetAlbumsSync() public method

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

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>

GetAllSync() public method

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

GetById() public method

public GetById ( ) : Task
return Task

GetByIdSync() public method

public GetByIdSync ( ) : kasthack.vksharp.DataTypes.Entities.Photo[]
return kasthack.vksharp.DataTypes.Entities.Photo[]

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

GetChatUploadServerSync() public method

public GetChatUploadServerSync ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : PhotosUploadServer
chatId int
cropX int
cropY int
cropWidth int
return kasthack.vksharp.DataTypes.ResponseEntities.PhotosUploadServer

GetOwnerPhotoUploadServer() public method

public GetOwnerPhotoUploadServer ( ) : Task
return Task

GetOwnerPhotoUploadServerSync() public method

public GetOwnerPhotoUploadServerSync ( ) : string
return string

GetSync() public method

public GetSync ( 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 ) : EntityList
albumId SpecialAlbum
ownerId int
photoIds int
rev bool
extended bool
feedType FeedType
feed int
offset int
count int
return EntityList

GetSync() public method

public GetSync ( 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 ) : EntityList
albumId long
ownerId int
photoIds int
rev bool
extended bool
feedType FeedType
feed int
offset int
count int
return EntityList

GetTags() public method

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

GetTagsSync() public method

public GetTagsSync ( long photoId, int ownerId = null, string accessKey = "" ) : kasthack.vksharp.DataTypes.Entities.PhotoTag[]
photoId long
ownerId int
accessKey string
return kasthack.vksharp.DataTypes.Entities.PhotoTag[]

GetUploadServer() public method

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

GetUploadServerSync() public method

public GetUploadServerSync ( long albumId, int groupId = null ) : PhotosUploadServer
albumId long
groupId int
return kasthack.vksharp.DataTypes.ResponseEntities.PhotosUploadServer

MakeCover() public method

public MakeCover ( long albumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
albumId long
photoId long
ownerId int
return System.Threading.Tasks.Task

MakeCoverSync() public method

public MakeCoverSync ( long albumId, long photoId, int ownerId = null ) : void
albumId long
photoId long
ownerId int
return void

Move() public method

public Move ( long targetAlbumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
targetAlbumId long
photoId long
ownerId int
return System.Threading.Tasks.Task

MoveSync() public method

public MoveSync ( long targetAlbumId, long photoId, int ownerId = null ) : void
targetAlbumId long
photoId long
ownerId int
return void

RemoveTag() public method

public RemoveTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
tagId int
photoId long
ownerId int
return System.Threading.Tasks.Task

RemoveTagSync() public method

public RemoveTagSync ( int tagId, long photoId, int ownerId = null ) : void
tagId int
photoId long
ownerId int
return void

ReorderAlbums() public method

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

ReorderAlbumsSync() public method

public ReorderAlbumsSync ( long albumId, int ownerId = null, long before = null, long after = null ) : void
albumId long
ownerId int
before long
after long
return void

ReorderPhotos() public method

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

ReorderPhotosSync() public method

public ReorderPhotosSync ( long photoId, int ownerId = null, long before = null, long after = null ) : void
photoId long
ownerId int
before long
after long
return void

Report() public method

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

ReportComment() public method

public ReportComment ( int commentId, int ownerId = null, ReportReason reason = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
reason ReportReason
return System.Threading.Tasks.Task

ReportCommentSync() public method

public ReportCommentSync ( int commentId, int ownerId = null, ReportReason reason = null ) : void
commentId int
ownerId int
reason ReportReason
return void

ReportSync() public method

public ReportSync ( long photoId, int ownerId = null, ReportReason reason = null ) : void
photoId long
ownerId int
reason ReportReason
return void

Restore() public method

public Restore ( int ownerId, long photoId ) : System.Threading.Tasks.Task
ownerId int
photoId long
return System.Threading.Tasks.Task

RestoreComment() public method

public RestoreComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
return System.Threading.Tasks.Task

RestoreCommentSync() public method

public RestoreCommentSync ( int commentId, int ownerId = null ) : void
commentId int
ownerId int
return void

RestoreSync() public method

public RestoreSync ( int ownerId, long photoId ) : void
ownerId int
photoId long
return void

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

SaveSync() public method

public SaveSync ( long albumId, string server, string photosList, string hash, int groupId = null, double latitude = null, double longitude = null, string caption = "", string description = "" ) : kasthack.vksharp.DataTypes.Entities.Photo[]
albumId long
server string
photosList string
hash string
groupId int
latitude double
longitude double
caption string
description string
return kasthack.vksharp.DataTypes.Entities.Photo[]