public enum ContentType extends Enum<ContentType>
| Enum Constant and Description |
|---|
AUDIO |
CHANNEL_CHAT_CREATED |
CONTACT |
DELETE_CHAT_PHOTO |
DOCUMENT |
GAME |
GROUP_CHAT_CREATED |
LEFT_CHAT_PARTICIPANT |
LOCATION |
MIGRATE_FROM_CHAT_ID |
MIGRATE_TO_CHAT_ID |
NEW_CHAT_PARTICIPANT |
NEW_CHAT_PHOTO |
NEW_CHAT_TITLE |
PHOTO |
PINNED_MESSAGE |
STICKER |
SUPER_GROUP_CHAT_CREATED |
TEXT |
VENUE |
VIDEO |
VOICE |
| Modifier and Type | Method and Description |
|---|---|
static ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentType AUDIO
public static final ContentType CONTACT
public static final ContentType DELETE_CHAT_PHOTO
public static final ContentType DOCUMENT
public static final ContentType GAME
public static final ContentType LOCATION
public static final ContentType NEW_CHAT_TITLE
public static final ContentType NEW_CHAT_PARTICIPANT
public static final ContentType PHOTO
public static final ContentType STICKER
public static final ContentType TEXT
public static final ContentType VIDEO
public static final ContentType VOICE
public static final ContentType VENUE
public static final ContentType GROUP_CHAT_CREATED
public static final ContentType LEFT_CHAT_PARTICIPANT
public static final ContentType NEW_CHAT_PHOTO
public static final ContentType SUPER_GROUP_CHAT_CREATED
public static final ContentType CHANNEL_CHAT_CREATED
public static final ContentType MIGRATE_FROM_CHAT_ID
public static final ContentType MIGRATE_TO_CHAT_ID
public static final ContentType PINNED_MESSAGE
public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static ContentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.