Enum Class ChatMemberStatus

java.lang.Object
java.lang.Enum<ChatMemberStatus>
io.github.natanimn.telebof.enums.ChatMemberStatus
All Implemented Interfaces:
Serializable, Comparable<ChatMemberStatus>, Constable

public enum ChatMemberStatus extends Enum<ChatMemberStatus>
Describes the status of a member in a chat
Since:
26 August 2025
  • Enum Constant Details

    • BANNED

      @SerializedName("banned") public static final ChatMemberStatus BANNED
    • LEFT

      @SerializedName("left") public static final ChatMemberStatus LEFT
    • ADMINISTRATOR

      @SerializedName("administrator") public static final ChatMemberStatus ADMINISTRATOR
    • CREATOR

      @SerializedName("creator") public static final ChatMemberStatus CREATOR
    • RESTRICTED

      @SerializedName("restricted") public static final ChatMemberStatus RESTRICTED
    • MEMBER

      @SerializedName("member") public static final ChatMemberStatus MEMBER
  • Method Details

    • values

      public static ChatMemberStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChatMemberStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null