awaitUpdateUserMessage

suspend fun BaseChannel.awaitUpdateUserMessage(messageId: Long, params: UserMessageUpdateParams): UserMessage

Updates a UserMessage that was previously sent in the channel.

Return

The user message

Since

4.17.0

Parameters

messageId

The ID of the message. This must be a message that exists in the channel's history, or an error will be returned.

params

The parameters to update user message