public static enum BaseMessageParams.MentionType extends java.lang.Enum<BaseMessageParams.MentionType>
Modifier and Type | Method and Description |
---|---|
static BaseMessageParams.MentionType |
from(java.lang.String value) |
java.lang.String |
getValue() |
static BaseMessageParams.MentionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseMessageParams.MentionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseMessageParams.MentionType USERS
public static final BaseMessageParams.MentionType CHANNEL
public static BaseMessageParams.MentionType[] values()
for (BaseMessageParams.MentionType c : BaseMessageParams.MentionType.values()) System.out.println(c);
public static BaseMessageParams.MentionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static BaseMessageParams.MentionType from(java.lang.String value)
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.