Package ai.tock.bot.connector
Enum NotifyBotStateModifier
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NotifyBotStateModifier extends Enum<NotifyBotStateModifier>
Manage bot state and notifications.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<NotifyBotStateModifier>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description KEEP_CURRENT_STATEIf the bot is disabled for the user, don't send the notification.
ACTIVATE_ONLY_FOR_THIS_NOTIFICATIONSend the notification even for disabled bot, but don't reactivate the bot for the user if it is disabled.
REACTIVATESend the notification and reactivate the bot for the user.
-
Method Summary
Modifier and Type Method Description final NotifyBotStateModifiervalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NotifyBotStateModifier>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<NotifyBotStateModifier>getEntries()Manage bot state and notifications. -
-
Method Detail
-
valueOf
final NotifyBotStateModifier valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<NotifyBotStateModifier> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<NotifyBotStateModifier> getEntries()
Manage bot state and notifications.
-
-
-
-