Interface: UpdateMessageOptions\<T\>
Gala Launchpad SDK 9.0.0-rc.5 / index / UpdateMessageOptions
Interface: UpdateMessageOptions<T>
Defined in: packages/launchpad-sdk/dist/types/messages.dto.d.ts:249
Options for updating a message via /v1/messages/:id
Type Parameters
T
T extends MessageType = MessageType
Properties
content
content:
string
Defined in: packages/launchpad-sdk/dist/types/messages.dto.d.ts:251
Updated message content
type?
optionaltype?:T
Defined in: packages/launchpad-sdk/dist/types/messages.dto.d.ts:258
The 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).