Skip to content

//core/com.petersamokhin.vksdk.core.api.botslongpoll/VkBotsLongPollApi/Settings

Settings

[common]\ data class Settings(wait: Int, maxFails: Int)

Long polling settings

Constructors

Settings [common]
fun Settings(wait: Int = 25, maxFails: Int = IGNORE_FAILS)

Types

Name Summary
Companion [common]
object Companion

Properties

Name Summary
maxFails [common]
val maxFails: Int
Max number of errors while handling events before the exception will be thrown.
wait [common]
val wait: Int = 25
Max wait time if there are no events.