channel_folders: Check max length restrictions while updating.

This commit updates code to make sure we check maximum allowed
length for name and description for channel folders when updating
them.
This commit is contained in:
Sahil Batra
2025-07-28 09:24:42 +05:30
committed by Tim Abbott
parent 6186df4f72
commit 8ae9cca3c9
3 changed files with 26 additions and 2 deletions

View File

@@ -24465,11 +24465,19 @@ paths:
name:
description: |
The new name of the channel folder.
Clients should use the `max_channel_folder_name_length` returned
by the [`POST /register`](/api/register-queue) endpoint to determine
the maximum channel folder name length.
type: string
example: backend
description:
description: |
The new description of the channel folder.
Clients should use the `max_channel_folder_description_length`
returned by the [`POST /register`](/api/register-queue) endpoint
to determine the maximum channel folder description length.
type: string
example: Backend channels.
is_archived: