Skip to main content

index/interfaces/UpdateMessageOptions.md

Options for updating a message via /v1/messages/:id

Type Parameters​

Type ParameterDefault type
T extends MessageTypeMessageType

Properties​

PropertyTypeDescription
contentstringUpdated message content
type?TThe type of the message being edited, when the caller knows it: a chat message is capped at 500 characters before anything is sent (the backend checks the stored message's own type, 500 for chat and 2000 for comments; without a type only the comment cap is checked here). The result is typed by it (without one it is either shape).