IUsersService Interface

graph TD Type["IUsersService"] class Type type-node

Syntax

public interface IUsersService

Methods

Name Value Summary
CheckUsernameAsync(string, CancellationToken) Task<bool>
Check username
GetCurrentUserFullAsync(CancellationToken) Task<TUserFull>
Get full information about current user
GetUserFullAsync(IInputUser, CancellationToken) Task<TUserFull>
Get full information about the user
GetUserPhotosAsync(IInputUser, int, int, long, CancellationToken) Task<IPhotos>
Get a user photos
GetUsersAsync(IReadOnlyList<IInputUser>, CancellationToken) Task<ICollection<IUser>>
Get users
UpdateUsernameAsync(string, CancellationToken) Task<TUser>
Update username