toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.interfaces.helper
/
Guard
Guard
fun
interface
Guard
Helper interface used with guard mechanics for several handlers.
Inheritors
DefaultGuard
Members
Functions
condition
Link copied to clipboard
abstract
suspend
fun
condition
(
user
:
User
?
,
update
:
ProcessedUpdate
,
bot
:
TelegramBot
)
:
Boolean