MessageType enum
Types of chat messages.
Use EnumName.name to get the string representation that is used in the API. Use EnumByName.byName to convert the string representation into a MessageType. See https://github.com/nextcloud/spreed/blob/main/lib/Chat/ChatManager.php.
- Inheritance
- Available extensions
Values
- comment → const MessageType
-
Message.
- system → const MessageType
-
Message from the system.
-
An object shared to the room.
- command → const MessageType
-
Message from a command.
- comment_deleted → const MessageType
-
Deleted message.
- reaction → const MessageType
-
Emoji reaction.
- reaction_deleted → const MessageType
-
Deleted emoji reaction.
Properties
- binary → int
-
Available on Enum, provided by the EnumBinary extension
Gets the binary representation of the index.no setter - 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
MessageType> - A constant List of the values in this enum, in order of their declaration.