Пример #1
0
 /// <summary>
 /// Gets a collection of the most recent tweets and retweets posted by the authenticating
 /// user and the users they follow.
 /// </summary>
 /// <returns>An instance of <see cref="TwitterGetHomeTimelineResponse"/> representing the response.</returns>
 /// <param name="count">The maximum amount of tweets to return.</param>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline</cref>
 /// </see>
 public TwitterGetHomeTimelineResponse GetHomeTimeline(int count)
 {
     return(TwitterGetHomeTimelineResponse.ParseResponse(Raw.GetHomeTimeline(count)));
 }
Пример #2
0
 /// <summary>
 /// Gets a collection of the most recent tweets and retweets posted by the authenticating
 /// user and the users they follow.
 /// </summary>
 /// <param name="options">The options for the call.</param>
 /// <returns>An instance of <see cref="TwitterGetHomeTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline</cref>
 /// </see>
 public TwitterGetHomeTimelineResponse GetHomeTimeline(TwitterGetHomeTimelineOptions options)
 {
     return(TwitterGetHomeTimelineResponse.ParseResponse(Raw.GetHomeTimeline(options)));
 }
Пример #3
0
 /// <summary>
 /// Gets a collection of the most recent tweets and retweets posted by the authenticating
 /// user and the users they follow.
 /// </summary>
 /// <returns>An instance of <see cref="TwitterGetHomeTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-home_timeline</cref>
 /// </see>
 public TwitterGetHomeTimelineResponse GetHomeTimeline()
 {
     return(TwitterGetHomeTimelineResponse.ParseResponse(Raw.GetHomeTimeline()));
 }