Skip to content

Commit 27f2b91

Browse files
committed
error when using searchbytimestamp
1 parent b7b969a commit 27f2b91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RedditSharp/Reddit.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ public Listing<Post> AdvancedSearch(Expression<Func<AdvancedSearchFilter, bool>>
418418
/// <param name="timeE">Order by <see cref="TimeSorting"/></param>
419419
/// <param name="max">Maximum number of records to return. -1 for unlimited.</param>
420420
/// <returns></returns>
421+
[Obsolete("time search was discontinued by reddit",true)]
421422
public Listing<T> SearchByTimestamp<T>(DateTime from, DateTime to, string query = "", string subreddit = "", Sorting sortE = Sorting.Relevance, TimeSorting timeE = TimeSorting.All, int max = -1) where T : Thing
422423
{
423424
string sort = sortE.ToString().ToLower();

0 commit comments

Comments
 (0)