public async void BlockUserTest() { User user = await twixel.RetrieveUserWithAccessToken(accessToken); Block blockedUser = await user.BlockUser((await twixel.GetUserId("nightblue3")).ToString()); Assert.NotNull(blockedUser); }
public async void GetUserIdTest() { long id = await twixel.GetUserId("golf1052"); Assert.Equal(22747608, id); }