subscribe
inline fun <E : Signal.Dispatch> Bot.subscribe(sequence: SubscribeSequence = SubscribeSequence.NORMAL, crossinline block: suspend E.(raw: String) -> Unit): DisposableHandle(source)
bot.subscribe<Signal.Dispatch> { raw ->
// ...
}
Content copied to clipboard