Skip to main content

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.

Type Parameters​

Type ParameterDefault type
T extends MessageTypeMessageType

Properties​

PropertyTypeDescription
messageUpdatedMessageByType[T]The updated message, as the backend answers it for that type