whenTypingAction

inline fun <T> BotAction.whenTypingAction(block: (TypingAction) -> T): T?