Exemple #1
0
        private async void button29_Click(object sender, EventArgs e)
        {
            //textbox29
            TwitchLib.TwitchAPIClasses.FollowedUsersResponse response = await TwitchApi.GetFollowedUsers(textBox29.Text);

            MessageBox.Show($"Channe: {textBox29.Text}\nTotal followed users: {response.TotalFollowCount}");
            foreach (TwitchLib.TwitchAPIClasses.Follow follow in response.Follows)
            {
                MessageBox.Show($"Followed user: {follow.Channel.DisplayName}\nFollow created at: {follow.CreatedAt}");
            }
        }