QuotedRepliesOptions enum
Notification options for quoted replies — a message that quotes another message, as distinct from a reply posted into a thread.
This is a dedicated option set. Even though values 1-3 match RepliesOptions, the two are not interchangeable: an option value is meaningful only within its own preference, so a shared set would let a value be set on a preference where it means something else, with no error raised at any layer. The separate type makes that a compile error.
Set on OneOnOnePreferences.quotedReplies and GroupPreferences.quotedReplies.
Values
- DONT_SUBSCRIBE → const QuotedRepliesOptions
-
Do not notify me about quoted replies.
const QuotedRepliesOptions(1) - SUBSCRIBE_TO_ALL → const QuotedRepliesOptions
-
Notify me about all quoted replies.
const QuotedRepliesOptions(2) - SUBSCRIBE_TO_MENTIONS → const QuotedRepliesOptions
-
Notify me about quoted replies that mention me.
const QuotedRepliesOptions(3) - SUBSCRIBE_TO_QUOTES_ON_OWN_MESSAGES → const QuotedRepliesOptions
-
Notify me when a message I authored is quoted.
const QuotedRepliesOptions(4)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int? value) → QuotedRepliesOptions? -
Returns the option for
value, or null whenvalueis null or is not one of the four known options.
Constants
-
values
→ const List<
QuotedRepliesOptions> - A constant List of the values in this enum, in order of their declaration.