Пример #1
0
        public async void BlockUserTest()
        {
            User user = await twixel.RetrieveUserWithAccessToken(accessToken);

            Block blockedUser = await user.BlockUser((await twixel.GetUserId("nightblue3")).ToString());

            Assert.NotNull(blockedUser);
        }
Пример #2
0
        public async void GetUserIdTest()
        {
            long id = await twixel.GetUserId("golf1052");

            Assert.Equal(22747608, id);
        }