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

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

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

Метод Описание
Add ( int userId, string text = "" ) : Task
AddList ( string name ) : Task
AddListSync ( string name ) : AddFriendsList
AddSync ( int userId, string text = "" ) : AddFriendResult
AreFriends ( bool needSign = false ) : Task
AreFriendsSync ( bool needSign = false ) : kasthack.vksharp.DataTypes.ResponseEntities.FriendshipStatus[]
Delete ( int userId ) : Task
DeleteAllRequests ( ) : System.Threading.Tasks.Task
DeleteAllRequestsSync ( ) : void
DeleteList ( int listId ) : System.Threading.Tasks.Task
DeleteListSync ( int listId ) : void
DeleteSync ( int userId ) : FriendsDelete
Edit ( int userId ) : System.Threading.Tasks.Task
EditList ( long listId, string name = "", int userIds = null, int addUserIds = null ) : System.Threading.Tasks.Task
EditListSync ( long listId, string name = "", int userIds = null, int addUserIds = null ) : void
EditSync ( int userId ) : void
Get ( int userId = null, int listId = null, UserFields fields = UserFields.Anything, UserSortOrder order = UserSortOrder.ById, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : Task>
Get ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : Task>
GetAppUsers ( ) : Task
GetAppUsersSync ( ) : int[]
GetAvailableForCall ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : Task>
GetAvailableForCallIds ( ) : Task>
GetAvailableForCallIdsSync ( ) : EntityList
GetAvailableForCallSync ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : EntityList
GetByPhones ( UserFields fields = UserFields.None ) : Task
GetByPhonesSync ( UserFields fields = UserFields.None ) : User[]
GetIds ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : Task>
GetIdsSync ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : EntityList
GetLists ( int userId = null, bool returnSystem = true ) : Task>
GetListsSync ( int userId = null, bool returnSystem = true ) : EntityList
GetMutual ( int targetUid, int sourceUid = null, bool order = false, int offset = null, int count = 100 ) : Task
GetMutualSync ( int targetUid, int sourceUid = null, bool order = false, int offset = null, int count = 100 ) : int[]
GetOnline ( int userId = null, int listId = null, UserSortOrder order = null, int offset = null, int count = 100 ) : Task
GetOnlineSync ( int userId = null, int listId = null, UserSortOrder order = null, int offset = null, int count = 100 ) : int[]
GetRecent ( int count = 20 ) : Task
GetRecentSync ( int count = 20 ) : int[]
GetSuggestions ( FriendSuggestionFilters filters = FriendSuggestionFilters.Everything, UserFields fields = UserFields.None, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : Task>
GetSuggestionsSync ( FriendSuggestionFilters filters = FriendSuggestionFilters.Everything, UserFields fields = UserFields.None, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : EntityList
GetSync ( int userId = null, int listId = null, UserFields fields = UserFields.Anything, UserSortOrder order = UserSortOrder.ById, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : EntityList
GetSync ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : EntityList
Search ( int userId, string q = "", NameCase nameCase = NameCase.Nom, int offset = null, int count = 20 ) : Task>
SearchSync ( int userId, string q = "", NameCase nameCase = NameCase.Nom, int offset = null, int count = 20 ) : EntityList

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

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

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

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

public Add ( int userId, string text = "" ) : Task
userId int
text string
Результат Task

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

public AddList ( string name ) : Task
name string
Результат Task

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

public AddListSync ( string name ) : AddFriendsList
name string
Результат kasthack.vksharp.DataTypes.ResponseEntities.AddFriendsList

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

public AddSync ( int userId, string text = "" ) : AddFriendResult
userId int
text string
Результат AddFriendResult

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

public AreFriends ( bool needSign = false ) : Task
needSign bool
Результат Task

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

public AreFriendsSync ( bool needSign = false ) : kasthack.vksharp.DataTypes.ResponseEntities.FriendshipStatus[]
needSign bool
Результат kasthack.vksharp.DataTypes.ResponseEntities.FriendshipStatus[]

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

public Delete ( int userId ) : Task
userId int
Результат Task

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

public DeleteAllRequests ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

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

public DeleteAllRequestsSync ( ) : void
Результат void

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

public DeleteList ( int listId ) : System.Threading.Tasks.Task
listId int
Результат System.Threading.Tasks.Task

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

public DeleteListSync ( int listId ) : void
listId int
Результат void

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

public DeleteSync ( int userId ) : FriendsDelete
userId int
Результат kasthack.vksharp.DataTypes.ResponseEntities.FriendsDelete

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

public Edit ( int userId ) : System.Threading.Tasks.Task
userId int
Результат System.Threading.Tasks.Task

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

public EditList ( long listId, string name = "", int userIds = null, int addUserIds = null ) : System.Threading.Tasks.Task
listId long
name string
userIds int
addUserIds int
Результат System.Threading.Tasks.Task

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

public EditListSync ( long listId, string name = "", int userIds = null, int addUserIds = null ) : void
listId long
name string
userIds int
addUserIds int
Результат void

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

public EditSync ( int userId ) : void
userId int
Результат void

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

public Get ( int userId = null, int listId = null, UserFields fields = UserFields.Anything, UserSortOrder order = UserSortOrder.ById, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : Task>
userId int
listId int
fields UserFields
order UserSortOrder
nameCase NameCase
offset int
count int
Результат Task>

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

public Get ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : Task>
userId int
listId int
order UserSortOrder
offset int
count int
Результат Task>

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

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

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

public GetAppUsersSync ( ) : int[]
Результат int[]

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

public GetAvailableForCall ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : Task>
fields UserFields
nameCase NameCase
Результат Task>

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

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

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

public GetAvailableForCallIdsSync ( ) : EntityList
Результат EntityList

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

public GetAvailableForCallSync ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : EntityList
fields UserFields
nameCase NameCase
Результат EntityList

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

public GetByPhones ( UserFields fields = UserFields.None ) : Task
fields UserFields
Результат Task

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

public GetByPhonesSync ( UserFields fields = UserFields.None ) : User[]
fields UserFields
Результат User[]

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

public GetIds ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : Task>
userId int
listId int
order UserSortOrder
offset int
count int
Результат Task>

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

public GetIdsSync ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : EntityList
userId int
listId int
order UserSortOrder
offset int
count int
Результат EntityList

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

public GetLists ( int userId = null, bool returnSystem = true ) : Task>
userId int
returnSystem bool
Результат Task>

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

public GetListsSync ( int userId = null, bool returnSystem = true ) : EntityList
userId int
returnSystem bool
Результат EntityList

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

public GetMutual ( int targetUid, int sourceUid = null, bool order = false, int offset = null, int count = 100 ) : Task
targetUid int
sourceUid int
order bool
offset int
count int
Результат Task

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

public GetMutualSync ( int targetUid, int sourceUid = null, bool order = false, int offset = null, int count = 100 ) : int[]
targetUid int
sourceUid int
order bool
offset int
count int
Результат int[]

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

public GetOnline ( int userId = null, int listId = null, UserSortOrder order = null, int offset = null, int count = 100 ) : Task
userId int
listId int
order UserSortOrder
offset int
count int
Результат Task

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

public GetOnlineSync ( int userId = null, int listId = null, UserSortOrder order = null, int offset = null, int count = 100 ) : int[]
userId int
listId int
order UserSortOrder
offset int
count int
Результат int[]

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

public GetRecent ( int count = 20 ) : Task
count int
Результат Task

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

public GetRecentSync ( int count = 20 ) : int[]
count int
Результат int[]

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

public GetSuggestions ( FriendSuggestionFilters filters = FriendSuggestionFilters.Everything, UserFields fields = UserFields.None, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : Task>
filters FriendSuggestionFilters
fields UserFields
nameCase NameCase
offset int
count int
Результат Task>

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

public GetSuggestionsSync ( FriendSuggestionFilters filters = FriendSuggestionFilters.Everything, UserFields fields = UserFields.None, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : EntityList
filters FriendSuggestionFilters
fields UserFields
nameCase NameCase
offset int
count int
Результат EntityList

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

public GetSync ( int userId = null, int listId = null, UserFields fields = UserFields.Anything, UserSortOrder order = UserSortOrder.ById, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : EntityList
userId int
listId int
fields UserFields
order UserSortOrder
nameCase NameCase
offset int
count int
Результат EntityList

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

public GetSync ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : EntityList
userId int
listId int
order UserSortOrder
offset int
count int
Результат EntityList

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

public Search ( int userId, string q = "", NameCase nameCase = NameCase.Nom, int offset = null, int count = 20 ) : Task>
userId int
q string
nameCase NameCase
offset int
count int
Результат Task>

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

public SearchSync ( int userId, string q = "", NameCase nameCase = NameCase.Nom, int offset = null, int count = 20 ) : EntityList
userId int
q string
nameCase NameCase
offset int
count int
Результат EntityList