https://docs.discord.food/resources/channel#trigger-typing-indicator
If the user hit a slowmode rate limit (thread/message creation), the server should respond with a JSON object containing message_send_cooldown_ms or thread_create_cooldown_ms
There are no known clients as of writing that depend on these fields, nor the server responding with a 200 in such a case rather than 204, but may reduce user confusion if they're dealing with a longer slowmode.
You can probably look at the message handler to figure out the math for this...
https://docs.discord.food/resources/channel#trigger-typing-indicator
If the user hit a slowmode rate limit (thread/message creation), the server should respond with a JSON object containing
message_send_cooldown_msorthread_create_cooldown_msThere are no known clients as of writing that depend on these fields, nor the server responding with a 200 in such a case rather than 204, but may reduce user confusion if they're dealing with a longer slowmode.
You can probably look at the message handler to figure out the math for this...