Skip to content

Commit

Permalink
Added missed comment about default option for OrderBy.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Dec 10, 2024
1 parent 02977da commit a3eb918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/AblyChat/Messages.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public struct QueryOptions: Sendable {
* The direction to query messages in.
* If ``OrderBy/oldestFirst``, the response will include messages from the start of the time window to the end.
* If ``OrderBy/newestFirst``, the response will include messages from the end of the time window to the start.
* If not provided, the default is ``OrderBy/newestFirst`.
*/
public var orderBy: OrderBy?

Expand Down

0 comments on commit a3eb918

Please sign in to comment.