edit

suspend fun edit(commandId: CommandId, messageId: MessageId, replacement: MessageContent): OperationResult

Replace text and custom-emoji tags on one locally authored message.

Original attachments are retained. Empty text is accepted only when the original message has at least one attachment.