C# Class kasthack.vksharp.Api.MethodGroup_Friends

Exibir arquivo Open project: kasthack/kasthack.vksharp

Public Methods

Method 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

Method Description
MethodGroup_Friends ( Api 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

AddListSync() public method

public AddListSync ( string name ) : AddFriendsList
name string
return kasthack.vksharp.DataTypes.ResponseEntities.AddFriendsList

AddSync() public method

public AddSync ( int userId, string text = "" ) : AddFriendResult
userId int
text string
return AddFriendResult

AreFriends() public method

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

AreFriendsSync() public method

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

Delete() public method

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

DeleteAllRequests() public method

public DeleteAllRequests ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

DeleteAllRequestsSync() public method

public DeleteAllRequestsSync ( ) : void
return void

DeleteList() public method

public DeleteList ( int listId ) : System.Threading.Tasks.Task
listId int
return System.Threading.Tasks.Task

DeleteListSync() public method

public DeleteListSync ( int listId ) : void
listId int
return void

DeleteSync() public method

public DeleteSync ( int userId ) : FriendsDelete
userId int
return kasthack.vksharp.DataTypes.ResponseEntities.FriendsDelete

Edit() public method

public Edit ( int userId ) : System.Threading.Tasks.Task
userId int
return System.Threading.Tasks.Task

EditList() public method

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

EditListSync() public method

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

EditSync() public method

public EditSync ( int userId ) : void
userId int
return void

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

GetAppUsersSync() public method

public GetAppUsersSync ( ) : int[]
return int[]

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>

GetAvailableForCallIdsSync() public method

public GetAvailableForCallIdsSync ( ) : EntityList
return EntityList

GetAvailableForCallSync() public method

public GetAvailableForCallSync ( UserFields fields = UserFields.Anything, NameCase nameCase = NameCase.Nom ) : EntityList
fields UserFields
nameCase NameCase
return EntityList

GetByPhones() public method

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

GetByPhonesSync() public method

public GetByPhonesSync ( UserFields fields = UserFields.None ) : User[]
fields UserFields
return User[]

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>

GetIdsSync() public method

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

GetLists() public method

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

GetListsSync() public method

public GetListsSync ( int userId = null, bool returnSystem = true ) : EntityList
userId int
returnSystem bool
return EntityList

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

GetMutualSync() public method

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
return int[]

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

GetOnlineSync() public method

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
return int[]

GetRecent() public method

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

GetRecentSync() public method

public GetRecentSync ( int count = 20 ) : int[]
count int
return int[]

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>

GetSuggestionsSync() public method

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

GetSync() public method

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

GetSync() public method

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

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>

SearchSync() public method

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