update User Message
fun BaseChannel.updateUserMessage(messageId: Long, params: UserMessageUpdateParams, handler: ResultHandler<UserMessage>?)
Updates a UserMessage
that was previously sent in the channel.
Since
4.15.0
Parameters
message Id
The ID of the message. This must be a message that exists in the channel's history, or an error will be returned.
params
UserMessageCreateParams.
handler
An UserMessageHandler to receive the callback from this method.
suspend fun BaseChannel.updateUserMessage(messageId: Long, params: UserMessageUpdateParams): UserMessage
Deprecated
As of 4.17.0, replaced with awaitUpdateUserMessage(messageId, params).
Replace with
awaitUpdateUserMessage(messageId, params)
Content copied to clipboard
Updates a UserMessage
that was previously sent in the channel.
Return
The user message
Since
4.15.0
Parameters
message Id
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