Skip to content

Add check for message length#7

Merged
bvdcode merged 1 commit intobvdcode:developfrom
sidezzz:main
Mar 5, 2025
Merged

Add check for message length#7
bvdcode merged 1 commit intobvdcode:developfrom
sidezzz:main

Conversation

@sidezzz
Copy link
Copy Markdown

@sidezzz sidezzz commented Mar 5, 2025

According to discussions maximum message length is 4000 (https://forum.mattermost.com/t/messages-larger-than-4000-characters/12490) so it would be nice to have this check on the client side instead of receiving 400 (Bad Request).

@bvdcode bvdcode changed the base branch from main to develop March 5, 2025 08:01
@bvdcode bvdcode merged commit 395cc85 into bvdcode:develop Mar 5, 2025
@bvdcode
Copy link
Copy Markdown
Owner

bvdcode commented Mar 14, 2025

@sidezzz the 4000 limit is deprecated and now is 16383 since Jun 2018 and Mattermost 5.0+ / API V4
I confirm that in our version and for other clients it works as intended by the developers with 16383 characters (Mattermost Version: 10.4.0+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants