Uses of Class
org.telegram.telegrambots.abilitybots.api.objects.Ability
Packages that use Ability
Package
Description
-
Uses of Ability in org.telegram.telegrambots.abilitybots.api.bot
Methods in org.telegram.telegrambots.abilitybots.api.bot that return AbilityModifier and TypeMethodDescriptionDefaultAbilities.backupDB()This backup ability returns the object defined byDBContext.backup()as a message document.DefaultAbilities.banUser()Banned users are accumulated in the blacklist.DefaultAbilities.claimCreator()Regular users and admins who try to claim the bot will get banned.DefaultAbilities.commands()Default format:DefaultAbilities.demoteAdmin()DefaultAbilities.promoteAdmin()DefaultAbilities.recoverDB()Recovers the bot database usingDBContext.recover(Object).DefaultAbilities.reportCommands()Format of the report:DefaultAbilities.reportStats()DefaultAbilities.unbanUser()Usage:/unban @username -
Uses of Ability in org.telegram.telegrambots.abilitybots.api.objects
Methods in org.telegram.telegrambots.abilitybots.api.objects that return AbilityMethods in org.telegram.telegrambots.abilitybots.api.objects with parameters of type AbilityModifier and TypeMethodDescription -
Uses of Ability in org.telegram.telegrambots.abilitybots.api.toggle
Methods in org.telegram.telegrambots.abilitybots.api.toggle that return AbilityModifier and TypeMethodDescriptionAbilityToggle.processAbility(Ability ab) Abilities that are ON (and have failed theAbilityToggle.isOff(org.telegram.telegrambots.abilitybots.api.objects.Ability)condition) will be processed by this method.BareboneToggle.processAbility(Ability ab) CustomToggle.processAbility(Ability ability) DefaultToggle.processAbility(Ability ab) Methods in org.telegram.telegrambots.abilitybots.api.toggle with parameters of type AbilityModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanAbilityToggle.processAbility(Ability ab) Abilities that are ON (and have failed theAbilityToggle.isOff(org.telegram.telegrambots.abilitybots.api.objects.Ability)condition) will be processed by this method.BareboneToggle.processAbility(Ability ab) CustomToggle.processAbility(Ability ability) DefaultToggle.processAbility(Ability ab)