updateBot

abstract suspend fun updateBot(input: UpdateBotRequest): UpdateBotResponse

Updates the properties of an existing bot in a Wickr network. This operation allows you to modify the bot's display name, security group, password, or suspension status.

Samples


fun main() { 
   //sampleStart 
   // Update bot successfully
val resp = wickrClient.updateBot {
    networkId = "12345678"
    botId = "98765"
    displayName = "Updated Support Bot"
    groupId = "support_group"
} 
   //sampleEnd
}