C# Class kasthack.vksharp.RawApi.MethodGroup_Friends

Show file Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
Add ( int userId, string text = "" ) : Task
AddList ( string name ) : Task
AreFriends ( bool needSign = false ) : Task
Delete ( int userId ) : Task
DeleteAllRequests ( ) : Task
DeleteList ( int listId ) : Task
Edit ( int userId ) : Task
EditList ( long listId, string name = "", int userIds = null, int addUserIds = null ) : Task
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
GetAvailableForCall ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : Task
GetAvailableForCallIds ( ) : Task
GetByPhones ( UserFields fields = UserFields.None ) : Task
GetIds ( int userId = null, int listId = null, UserSortOrder order = UserSortOrder.ById, int offset = null, int count = 100 ) : Task
GetLists ( int userId = null, bool returnSystem = true ) : Task
GetMutual ( int targetUid, int sourceUid = null, bool order = false, int offset = null, int count = 100 ) : Task
GetOnline ( int userId = null, int listId = null, UserSortOrder order = null, int offset = null, int count = 100 ) : Task
GetRecent ( int count = 20 ) : Task
GetSuggestions ( FriendSuggestionFilters filters = FriendSuggestionFilters.Everything, UserFields fields = UserFields.None, NameCase nameCase = NameCase.Nom, int offset = null, int count = 100 ) : Task
Search ( int userId, string q = "", NameCase nameCase = NameCase.Nom, int offset = null, int count = 20 ) : Task

Private Methods

Method Description
MethodGroup_Friends ( RawApi parent ) : System

Method Details

Add() public method

public Add ( int userId, string text = "" ) : Task
userId int
text string
return Task

AddList() public method

public AddList ( string name ) : Task
name string
return Task

AreFriends() public method

public AreFriends ( bool needSign = false ) : Task
needSign bool
return Task

Delete() public method

public Delete ( int userId ) : Task
userId int
return Task

DeleteAllRequests() public method

public DeleteAllRequests ( ) : Task
return Task

DeleteList() public method

public DeleteList ( int listId ) : Task
listId int
return Task

Edit() public method

public Edit ( int userId ) : Task
userId int
return Task

EditList() public method

public EditList ( long listId, string name = "", int userIds = null, int addUserIds = null ) : Task
listId long
name string
userIds int
addUserIds int
return Task

Get() public method

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
return Task

Get() public method

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
return Task

GetAppUsers() public method

public GetAppUsers ( ) : Task
return Task

GetAvailableForCall() public method

public GetAvailableForCall ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : Task
fields UserFields
nameCase NameCase
return Task

GetAvailableForCallIds() public method

public GetAvailableForCallIds ( ) : Task
return Task

GetByPhones() public method

public GetByPhones ( UserFields fields = UserFields.None ) : Task
fields UserFields
return Task

GetIds() public method

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
return Task

GetLists() public method

public GetLists ( int userId = null, bool returnSystem = true ) : Task
userId int
returnSystem bool
return Task

GetMutual() public method

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
return Task

GetOnline() public method

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
return Task

GetRecent() public method

public GetRecent ( int count = 20 ) : Task
count int
return Task

GetSuggestions() public method

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
return Task

Search() public method

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
return Task