org.telegram.telegrambots.abilitybots.api.objects.Locality Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegrambots-abilities Show documentation
Show all versions of telegrambots-abilities Show documentation
AbilityBot Extension and Abstraction
package org.telegram.telegrambots.abilitybots.api.objects;
/**
* Locality identifies the location in which you want your message to be accessed.
*
* If locality of your message is set to USER
, then the ability will only be executed if its being called in a user private chat.
*
* @author Abbas Abou Daya
*/
public enum Locality {
/**
* Ability would be valid for groups and private user chats
*/
ALL,
/**
* Only user chats
*/
USER,
/**
* Only group chats
*/
GROUP
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy