toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.interfaces.ctx
/
ClassManager
/
getInstance
get
Instance
open
fun
getInstance
(
kClass
:
KClass
<
*
>
,
vararg
initParams
:
Any
?
)
:
Any
Get instance of Class where Command/Input holds.
Parameters
k
Class
init
Params