All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.telegrambots.abilitybots.api.objects.Privacy Maven / Gradle / Ivy

There is a newer version: 8.0.0
Show newest version
package org.telegram.telegrambots.abilitybots.api.objects;

/**
 * Privacy represents a restriction on who can use the ability.
 *
 * @author Abbas Abou Daya
 */
public enum Privacy {
  /**
   * Anybody who is not a bot admin or its creator will be considered as a public user.
   */
  PUBLIC,
  /**
   * Only group admins would get to initiate this command.
   */
  GROUP_ADMIN,
  /**
   * A global admin of the bot, regardless of the group the bot is in.
   */
  ADMIN,
  /**
   * The creator of the bot.
   */
  CREATOR
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy