Watch: history pages can hold more than 20 messages
This commit is contained in:
1 parent
d916bfbab5
commit
45251b1a43
1 file changed
+1
-1
@@ -46,7 +46,7 @@ protocol GatewayAPI: Sendable {
|
||||
func feed() async throws -> Feed
|
||||
func summary() async throws -> Summary
|
||||
func thread(hostId: String, threadId: String) async throws -> ThreadDetail
|
||||
/// The 20 messages before `cursor`, a thread's `earlierCursor` or the last page's.
|
||||
/// The page of messages before `cursor`, a thread's `earlierCursor` or the last page's.
|
||||
func history(hostId: String, threadId: String, cursor: String) async throws -> HistoryResponse
|
||||
func sendMessage(hostId: String, threadId: String, text: String) async throws
|
||||
func respond(hostId: String, threadId: String, request: RespondRequest) async throws
|
||||
|
||||
Reference in new issue
Block a user