updateMessageState

abstract suspend fun updateMessageState(messageId: Uid<Message>, newState: MessageState)

Updates the state of the message with the specified messageId to the specified newState.

Parameters

messageId

The ID of the message.

newState

The new state.