linvi / tweetinvi

Tweetinvi, an intuitive Twitter C# library for the REST and Stream API. It supports .NET, .NETCore, UAP (Xamarin)...
MIT License
1.01k stars 219 forks source link

Filter out replies #1110

Closed Alex-451 closed 3 years ago

Alex-451 commented 3 years ago

Im using

                var timeline = await userClient.Timelines.GetUserTimelineAsync(Config.Bot.TwitterUserId);
                var latestTweet = timeline.First(); 

Is there a way to filter out replies?

linvi commented 3 years ago

The Twitter API does not offer such filter unfortunately. You can check all the query parameters with the GetUserTimelineParameters.