Interface IHasMyChatMemberHandler
- All Superinterfaces:
ITelegramHandler
-
Method Summary
Modifier and TypeMethodDescriptionbooleanonHasMyChatMember(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberUpdated chatMemberUpdated) Fired whenever has my chat member is receivedMethods inherited from interface com.github.unafraid.telegrambot.handlers.ITelegramHandler
getRequiredAccessLevel
-
Method Details
-
onHasMyChatMember
boolean onHasMyChatMember(AbstractTelegramBot bot, org.telegram.telegrambots.meta.api.objects.Update update, org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberUpdated chatMemberUpdated) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException Fired whenever has my chat member is received- Parameters:
bot- the botupdate- the updatechatMemberUpdated- the chat member- Returns:
trueif handler 'consumed' that event, aborting notification to other handlers,falseotherwise, continuing to look for handler that would returntrue- Throws:
org.telegram.telegrambots.meta.exceptions.TelegramApiException- the exception
-