invoke
suspend operator fun invoke(conversationId: <Error class: unknown class>, originalMessageId: String, text: String, mentions: List<<Error class: unknown class>> = emptyList(), editedMessageId: String = Uuid.random().toString()): MessageOperationResult
Operation to edit a text message.
Return
MessageOperationResult indicating success or failure.
Parameters
conversationId
the id of the conversation the message belongs to
originalMessageId
the id of the message to edit
text
the edited content of the message
mentions
the edited mentions in the message
editedMessageId
optional edited message id, generated if not provided