Class ChatMessageType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ChatMessageType>
com.azure.communication.chat.models.ChatMessageType
Defines values for ChatMessageType.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChatMessageType
Static value html for ChatMessageType.static final ChatMessageType
Static value participantAdded for ChatMessageType.static final ChatMessageType
Static value participantRemoved for ChatMessageType.static final ChatMessageType
Static value text for ChatMessageType.static final ChatMessageType
Static value topicUpdated for ChatMessageType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChatMessageType
fromString
(String name) Creates or finds a ChatMessageType from its string representation.static Collection<ChatMessageType>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TEXT
Static value text for ChatMessageType. -
HTML
Static value html for ChatMessageType. -
TOPIC_UPDATED
Static value topicUpdated for ChatMessageType. -
PARTICIPANT_ADDED
Static value participantAdded for ChatMessageType. -
PARTICIPANT_REMOVED
Static value participantRemoved for ChatMessageType.
-
-
Constructor Details
-
ChatMessageType
public ChatMessageType()
-
-
Method Details
-
fromString
Creates or finds a ChatMessageType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ChatMessageType.
-
values
- Returns:
- known ChatMessageType values.
-