whenExtendedBot

inline fun <T> Chat.whenExtendedBot(block: (ExtendedBot) -> T): T?