Exemple #1
0
 /// <summary>
 ///     Get currently logged in user info asynchronously
 /// </summary>
 /// <returns>
 ///     <see cref="T:InstaSharper.Classes.Models.InstaCurrentUser" />
 /// </returns>
 public async Task <IResult <InstaCurrentUser> > GetCurrentUserAsync()
 {
     ValidateUser();
     ValidateLoggedIn();
     return(await _userProcessor.GetCurrentUserAsync());
 }