createDataRetentionBotChallenge
inline suspend fun WickrClient.createDataRetentionBotChallenge(crossinline block: CreateDataRetentionBotChallengeRequest.Builder.() -> Unit): CreateDataRetentionBotChallengeResponse
Creates a new challenge password for the data retention bot. This password is used for authentication when the bot connects to the network.
Samples
fun main() {
//sampleStart
// Create data retention bot challenge successfully
val resp = wickrClient.createDataRetentionBotChallenge {
networkId = "12345678"
}
//sampleEnd
}