awaitTranslateUserMessage

suspend fun BaseChannel.awaitTranslateUserMessage(userMessage: UserMessage, targetLanguages: List<String>): UserMessage

Translate user message

Return

The user message

Since

4.17.0

Parameters

userMessage

The user message to translate

targetLanguages

Target language codes (for example "es" for spanish) the message will be translated to.