C# Класс kasthack.vksharp.Api.MethodGroup_Photos

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]

Приватные методы

Метод Описание
MethodGroup_Photos ( Api parent ) : System

Описание методов

ConfirmTag() публичный Метод

public ConfirmTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
tagId int
photoId long
ownerId int
Результат System.Threading.Tasks.Task

ConfirmTagSync() публичный Метод

public ConfirmTagSync ( int tagId, long photoId, int ownerId = null ) : void
tagId int
photoId long
ownerId int
Результат void

Copy() публичный Метод

public Copy ( long photoId, int ownerId = null, string accessKey = "" ) : Task
photoId long
ownerId int
accessKey string
Результат Task

CopySync() публичный Метод

public CopySync ( long photoId, int ownerId = null, string accessKey = "" ) : long
photoId long
ownerId int
accessKey string
Результат long

CreateAlbum() публичный Метод

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
Результат Task

CreateAlbumSync() публичный Метод

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
Результат kasthack.vksharp.DataTypes.Entities.PhotoAlbum

Delete() публичный Метод

public Delete ( long photoId, int ownerId = null ) : System.Threading.Tasks.Task
photoId long
ownerId int
Результат System.Threading.Tasks.Task

DeleteAlbum() публичный Метод

public DeleteAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task
albumId long
groupId int
Результат System.Threading.Tasks.Task

DeleteAlbumSync() публичный Метод

public DeleteAlbumSync ( long albumId, int groupId = null ) : void
albumId long
groupId int
Результат void

DeleteComment() публичный Метод

public DeleteComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
Результат System.Threading.Tasks.Task

DeleteCommentSync() публичный Метод

public DeleteCommentSync ( int commentId, int ownerId = null ) : void
commentId int
ownerId int
Результат void

DeleteSync() публичный Метод

public DeleteSync ( long photoId, int ownerId = null ) : void
photoId long
ownerId int
Результат void

Edit() публичный Метод

public Edit ( long photoId, int ownerId = null, string caption = "" ) : System.Threading.Tasks.Task
photoId long
ownerId int
caption string
Результат System.Threading.Tasks.Task

EditAlbum() публичный Метод

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
Результат System.Threading.Tasks.Task

EditAlbumSync() публичный Метод

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
Результат void

EditSync() публичный Метод

public EditSync ( long photoId, int ownerId = null, string caption = "" ) : void
photoId long
ownerId int
caption string
Результат void

Get() публичный Метод

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
Результат Task>

Get() публичный Метод

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
Результат Task>

GetAlbums() публичный Метод

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
Результат Task>

GetAlbumsCount() публичный Метод

public GetAlbumsCount ( int userId = null, int groupId = null ) : Task
userId int
groupId int
Результат Task

GetAlbumsCountSync() публичный Метод

public GetAlbumsCountSync ( int userId = null, int groupId = null ) : int
userId int
groupId int
Результат int

GetAlbumsSync() публичный Метод

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
Результат EntityList

GetAll() публичный Метод

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
Результат Task>

GetAllSync() публичный Метод

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
Результат EntityList

GetById() публичный Метод

public GetById ( ) : Task
Результат Task

GetByIdSync() публичный Метод

public GetByIdSync ( ) : kasthack.vksharp.DataTypes.Entities.Photo[]
Результат kasthack.vksharp.DataTypes.Entities.Photo[]

GetChatUploadServer() публичный Метод

public GetChatUploadServer ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : Task
chatId int
cropX int
cropY int
cropWidth int
Результат Task

GetChatUploadServerSync() публичный Метод

public GetChatUploadServerSync ( int chatId, int cropX = null, int cropY = null, int cropWidth = null ) : PhotosUploadServer
chatId int
cropX int
cropY int
cropWidth int
Результат kasthack.vksharp.DataTypes.ResponseEntities.PhotosUploadServer

GetOwnerPhotoUploadServer() публичный Метод

public GetOwnerPhotoUploadServer ( ) : Task
Результат Task

GetOwnerPhotoUploadServerSync() публичный Метод

public GetOwnerPhotoUploadServerSync ( ) : string
Результат string

GetSync() публичный Метод

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
Результат EntityList

GetSync() публичный Метод

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
Результат EntityList

GetTags() публичный Метод

public GetTags ( long photoId, int ownerId = null, string accessKey = "" ) : Task
photoId long
ownerId int
accessKey string
Результат Task

GetTagsSync() публичный Метод

public GetTagsSync ( long photoId, int ownerId = null, string accessKey = "" ) : kasthack.vksharp.DataTypes.Entities.PhotoTag[]
photoId long
ownerId int
accessKey string
Результат kasthack.vksharp.DataTypes.Entities.PhotoTag[]

GetUploadServer() публичный Метод

public GetUploadServer ( long albumId, int groupId = null ) : Task
albumId long
groupId int
Результат Task

GetUploadServerSync() публичный Метод

public GetUploadServerSync ( long albumId, int groupId = null ) : PhotosUploadServer
albumId long
groupId int
Результат kasthack.vksharp.DataTypes.ResponseEntities.PhotosUploadServer

MakeCover() публичный Метод

public MakeCover ( long albumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
albumId long
photoId long
ownerId int
Результат System.Threading.Tasks.Task

MakeCoverSync() публичный Метод

public MakeCoverSync ( long albumId, long photoId, int ownerId = null ) : void
albumId long
photoId long
ownerId int
Результат void

Move() публичный Метод

public Move ( long targetAlbumId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
targetAlbumId long
photoId long
ownerId int
Результат System.Threading.Tasks.Task

MoveSync() публичный Метод

public MoveSync ( long targetAlbumId, long photoId, int ownerId = null ) : void
targetAlbumId long
photoId long
ownerId int
Результат void

RemoveTag() публичный Метод

public RemoveTag ( int tagId, long photoId, int ownerId = null ) : System.Threading.Tasks.Task
tagId int
photoId long
ownerId int
Результат System.Threading.Tasks.Task

RemoveTagSync() публичный Метод

public RemoveTagSync ( int tagId, long photoId, int ownerId = null ) : void
tagId int
photoId long
ownerId int
Результат void

ReorderAlbums() публичный Метод

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
Результат System.Threading.Tasks.Task

ReorderAlbumsSync() публичный Метод

public ReorderAlbumsSync ( long albumId, int ownerId = null, long before = null, long after = null ) : void
albumId long
ownerId int
before long
after long
Результат void

ReorderPhotos() публичный Метод

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
Результат System.Threading.Tasks.Task

ReorderPhotosSync() публичный Метод

public ReorderPhotosSync ( long photoId, int ownerId = null, long before = null, long after = null ) : void
photoId long
ownerId int
before long
after long
Результат void

Report() публичный Метод

public Report ( long photoId, int ownerId = null, ReportReason reason = null ) : System.Threading.Tasks.Task
photoId long
ownerId int
reason ReportReason
Результат System.Threading.Tasks.Task

ReportComment() публичный Метод

public ReportComment ( int commentId, int ownerId = null, ReportReason reason = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
reason ReportReason
Результат System.Threading.Tasks.Task

ReportCommentSync() публичный Метод

public ReportCommentSync ( int commentId, int ownerId = null, ReportReason reason = null ) : void
commentId int
ownerId int
reason ReportReason
Результат void

ReportSync() публичный Метод

public ReportSync ( long photoId, int ownerId = null, ReportReason reason = null ) : void
photoId long
ownerId int
reason ReportReason
Результат void

Restore() публичный Метод

public Restore ( int ownerId, long photoId ) : System.Threading.Tasks.Task
ownerId int
photoId long
Результат System.Threading.Tasks.Task

RestoreComment() публичный Метод

public RestoreComment ( int commentId, int ownerId = null ) : System.Threading.Tasks.Task
commentId int
ownerId int
Результат System.Threading.Tasks.Task

RestoreCommentSync() публичный Метод

public RestoreCommentSync ( int commentId, int ownerId = null ) : void
commentId int
ownerId int
Результат void

RestoreSync() публичный Метод

public RestoreSync ( int ownerId, long photoId ) : void
ownerId int
photoId long
Результат void

Save() публичный Метод

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
Результат Task

SaveSync() публичный Метод

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
Результат kasthack.vksharp.DataTypes.Entities.Photo[]