From c25f58c3af78f82d21dd7d72469ce2f2934a2b1b Mon Sep 17 00:00:00 2001 From: Jannik <32801117+code1mountain@users.noreply.github.com> Date: Sat, 26 Dec 2020 10:55:33 +0100 Subject: [PATCH] Description parameter at createChat --- docs/tdlight-api-openapi.yaml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/docs/tdlight-api-openapi.yaml b/docs/tdlight-api-openapi.yaml index 2da7c9a..7dac61c 100644 --- a/docs/tdlight-api-openapi.yaml +++ b/docs/tdlight-api-openapi.yaml @@ -1353,6 +1353,15 @@ paths: - group - supergroup - channel + user_ids: + description: May only be set for chats of type `group` and is required then. Identifiers of users to be added to the basic group. May not be empty. + type: array + items: + anyOf: + - type: integer + description: + description: Chat description; 0-255 characters. Only for types `supergroup` or `channel`. + type: string required: - title - type @@ -1370,6 +1379,15 @@ paths: - group - supergroup - channel + user_ids: + description: Must only be set for chats of type `group` and is required then. Identifiers of users to be added to the basic group. May not be empty. + type: array + items: + anyOf: + - type: integer + description: + description: Chat description; 0-255 characters. Only for types `supergroup` or `channel`. + type: string required: - title - type @@ -1387,6 +1405,15 @@ paths: - group - supergroup - channel + user_ids: + description: Must only be set for chats of type `group` and is required then. Identifiers of users to be added to the basic group. May not be empty. + type: array + items: + anyOf: + - type: integer + description: + description: Chat description; 0-255 characters. Only for types `supergroup` or `channel`. + type: string required: - title - type @@ -1403,8 +1430,7 @@ paths: default: true type: boolean result: - default: true - type: boolean + $ref: '#/components/schemas/Chat' required: - ok - result