Skip to content

Commit dd48c48

Browse files
authored
Update channel create message request size limit (#6092)
* fix: channel create message request size limit * fix: update max request size in start thread in forum channel
1 parent 61ffa12 commit dd48c48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/resources/Channel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ Files must be attached using a `multipart/form-data` body as described in [Uploa
10071007
- When sending a message with `tts` (text-to-speech) set to `true`, the current user must have the `SEND_TTS_MESSAGES` permission.
10081008
- When creating a message as a reply to another message, the current user must have the `READ_MESSAGE_HISTORY` permission.
10091009
- The referenced message must exist and cannot be a system message.
1010-
- The maximum request size when sending a message is **8MiB**
1010+
- The maximum request size when sending a message is **25 MiB**
10111011
- For the embed object, you can set every field except `type` (it will be `rich` regardless of if you try to set it), `provider`, `video`, and any `height`, `width`, or `proxy_url` values for images.
10121012

10131013
###### JSON/Form Params
@@ -1282,7 +1282,7 @@ Creates a new thread in a forum channel, and sends a message within the created
12821282
- The type of the created thread is `PUBLIC_THREAD`.
12831283
- See [message formatting](#DOCS_REFERENCE/message-formatting) for more information on how to properly format messages.
12841284
- The current user must have the `SEND_MESSAGES` permission (`CREATE_PUBLIC_THREADS` is ignored).
1285-
- The maximum request size when sending a message is **8MiB**.
1285+
- The maximum request size when sending a message is **25 MiB**.
12861286
- For the embed object, you can set every field except `type` (it will be `rich` regardless of if you try to set it), `provider`, `video`, and any `height`, `width`, or `proxy_url` values for images.
12871287
- Examples for file uploads are available in [Uploading Files](#DOCS_REFERENCE/uploading-files).
12881288
- Files must be attached using a `multipart/form-data` body as described in [Uploading Files](#DOCS_REFERENCE/uploading-files).

0 commit comments

Comments
 (0)