getBotsCount

inline suspend fun WickrClient.getBotsCount(crossinline block: GetBotsCountRequest.Builder.() -> Unit): GetBotsCountResponse

Retrieves the count of bots in a Wickr network, categorized by their status (pending, active, and total).

Samples


fun main() { 
   //sampleStart 
   // Get bots count successfully
val resp = wickrClient.getBotsCount {
    networkId = "12345678"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Get bots count with filters
val resp = wickrClient.getBotsCount {
    networkId = "12345678"
} 
   //sampleEnd
}