We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 291d6e5 commit 207d1c0Copy full SHA for 207d1c0
4 files changed
src/pages/docs/chat/rooms/history.mdx
@@ -54,7 +54,7 @@ const MyComponent = () => {
54
```
55
56
```swift
57
-let paginatedResult = try await room.messages.history(withOptions: .init(orderBy: .newestFirst))
+let paginatedResult = try await room.messages.history(withParams: .init(orderBy: .newestFirst))
58
print(paginatedResult.items)
59
if let next = try await paginatedResult.next {
60
print(next.items)
0 commit comments