index/interfaces/UpdateMessageResult.md
Result of updating a message via /v1/messages/:id
T is the message type of the edit (WrittenComment or EditedChatMessage); updateMessage
infers it from options.type when given.
written comment edited chat message update
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends MessageType | MessageType |
message type
Properties
| Property | Type | Description |
|---|---|---|
message | UpdatedMessageByType[T] | The updated message, as the backend answers it for that type |
updated message by type