Documentation added to orderByRecent parameter of the search request.

This commit is contained in:
Onuray Sahin 2020-09-28 19:55:56 +03:00 committed by Benoit Marty
parent e21f306635
commit 4683dc3f21
2 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,7 @@ interface Room :
* Ref: https://matrix.org/docs/spec/client_server/latest#module-search
* @param searchTerm the term to search
* @param nextBatch the token that retrieved from the previous response. Should be provided to get the next batch of results
* @param orderByRecent if true, the most recent message events will return in the first places of the list
* @param limit the maximum number of events to return.
* @param beforeLimit how many events before the result are returned.
* @param afterLimit how many events after the result are returned.

View File

@ -31,6 +31,7 @@ interface SearchService {
* @param searchTerm the term to search
* @param roomId the roomId to search term inside
* @param nextBatch the token that retrieved from the previous response. Should be provided to get the next batch of results
* @param orderByRecent if true, the most recent message events will return in the first places of the list
* @param limit the maximum number of events to return.
* @param beforeLimit how many events before the result are returned.
* @param afterLimit how many events after the result are returned.