C# Class kasthack.vksharp.Api.MethodGroup_Friends

Afficher le fichier Open project: kasthack/kasthack.vksharp

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
MethodGroup_Friends ( Api parent ) : System

Method Details

Add() public méthode

public Add ( int userId, string text = "" ) : Task
userId int
text string
Résultat Task

AddList() public méthode

public AddList ( string name ) : Task
name string
Résultat Task

AddListSync() public méthode

public AddListSync ( string name ) : AddFriendsList
name string
Résultat kasthack.vksharp.DataTypes.ResponseEntities.AddFriendsList

AddSync() public méthode

public AddSync ( int userId, string text = "" ) : AddFriendResult
userId int
text string
Résultat AddFriendResult

AreFriends() public méthode

public AreFriends ( bool needSign = false ) : Task
needSign bool
Résultat Task

AreFriendsSync() public méthode

public AreFriendsSync ( bool needSign = false ) : kasthack.vksharp.DataTypes.ResponseEntities.FriendshipStatus[]
needSign bool
Résultat kasthack.vksharp.DataTypes.ResponseEntities.FriendshipStatus[]

Delete() public méthode

public Delete ( int userId ) : Task
userId int
Résultat Task

DeleteAllRequests() public méthode

public DeleteAllRequests ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

DeleteAllRequestsSync() public méthode

public DeleteAllRequestsSync ( ) : void
Résultat void

DeleteList() public méthode

public DeleteList ( int listId ) : System.Threading.Tasks.Task
listId int
Résultat System.Threading.Tasks.Task

DeleteListSync() public méthode

public DeleteListSync ( int listId ) : void
listId int
Résultat void

DeleteSync() public méthode

public DeleteSync ( int userId ) : FriendsDelete
userId int
Résultat kasthack.vksharp.DataTypes.ResponseEntities.FriendsDelete

Edit() public méthode

public Edit ( int userId ) : System.Threading.Tasks.Task
userId int
Résultat System.Threading.Tasks.Task

EditList() public méthode

public EditList ( long listId, string name = "", int userIds = null, int addUserIds = null ) : System.Threading.Tasks.Task
listId long
name string
userIds int
addUserIds int
Résultat System.Threading.Tasks.Task

EditListSync() public méthode

public EditListSync ( long listId, string name = "", int userIds = null, int addUserIds = null ) : void
listId long
name string
userIds int
addUserIds int
Résultat void

EditSync() public méthode

public EditSync ( int userId ) : void
userId int
Résultat void

Get() public méthode

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
Résultat Task>

Get() public méthode

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
Résultat Task>

GetAppUsers() public méthode

public GetAppUsers ( ) : Task
Résultat Task

GetAppUsersSync() public méthode

public GetAppUsersSync ( ) : int[]
Résultat int[]

GetAvailableForCall() public méthode

public GetAvailableForCall ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : Task>
fields UserFields
nameCase NameCase
Résultat Task>

GetAvailableForCallIds() public méthode

public GetAvailableForCallIds ( ) : Task>
Résultat Task>

GetAvailableForCallIdsSync() public méthode

public GetAvailableForCallIdsSync ( ) : EntityList
Résultat EntityList

GetAvailableForCallSync() public méthode

public GetAvailableForCallSync ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : EntityList
fields UserFields
nameCase NameCase
Résultat EntityList

GetByPhones() public méthode

public GetByPhones ( UserFields fields = UserFields.None ) : Task
fields UserFields
Résultat Task

GetByPhonesSync() public méthode

public GetByPhonesSync ( UserFields fields = UserFields.None ) : User[]
fields UserFields
Résultat User[]

GetIds() public méthode

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
Résultat Task>

GetIdsSync() public méthode

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
Résultat EntityList

GetLists() public méthode

public GetLists ( int userId = null, bool returnSystem = true ) : Task>
userId int
returnSystem bool
Résultat Task>

GetListsSync() public méthode

public GetListsSync ( int userId = null, bool returnSystem = true ) : EntityList
userId int
returnSystem bool
Résultat EntityList

GetMutual() public méthode

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
Résultat Task

GetMutualSync() public méthode

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
Résultat int[]

GetOnline() public méthode

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
Résultat Task

GetOnlineSync() public méthode

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
Résultat int[]

GetRecent() public méthode

public GetRecent ( int count = 20 ) : Task
count int
Résultat Task

GetRecentSync() public méthode

public GetRecentSync ( int count = 20 ) : int[]
count int
Résultat int[]

GetSuggestions() public méthode

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
Résultat Task>

GetSuggestionsSync() public méthode

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
Résultat EntityList

GetSync() public méthode

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
Résultat EntityList

GetSync() public méthode

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
Résultat EntityList

Search() public méthode

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
Résultat Task>

SearchSync() public méthode

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
Résultat EntityList