From 193a9f1e5bf465b8eefa9780aa1b112f8a1988f3 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Sat, 27 Apr 2024 19:10:28 +0200 Subject: [PATCH] update Swagger documentation --- src/docs/docs.go | 6 ++++++ src/docs/swagger.json | 6 ++++++ src/docs/swagger.yaml | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/src/docs/docs.go b/src/docs/docs.go index 23652480..58a28ba5 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -1449,6 +1449,12 @@ var doc = `{ "description": "Specify the maximum number of messages to receive (default: unlimited)", "name": "max_messages", "in": "query" + }, + { + "type": "string", + "description": "Specify whether read receipts should be sent when receiving messages", + "name": "send_read_receipts", + "in": "query" } ], "responses": { diff --git a/src/docs/swagger.json b/src/docs/swagger.json index 45cf5dae..f8f7a793 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -1433,6 +1433,12 @@ "description": "Specify the maximum number of messages to receive (default: unlimited)", "name": "max_messages", "in": "query" + }, + { + "type": "string", + "description": "Specify whether read receipts should be sent when receiving messages", + "name": "send_read_receipts", + "in": "query" } ], "responses": { diff --git a/src/docs/swagger.yaml b/src/docs/swagger.yaml index 3b0a4f6a..c9ddf2b2 100644 --- a/src/docs/swagger.yaml +++ b/src/docs/swagger.yaml @@ -1303,6 +1303,10 @@ paths: in: query name: max_messages type: string + - description: Specify whether read receipts should be sent when receiving messages + in: query + name: send_read_receipts + type: string produces: - application/json responses: