public enum InlineQueryResultType extends Enum<InlineQueryResultType>
| Enum Constant and Description |
|---|
ARTICLE |
AUDIO |
CONTACT |
DOCUMENT |
GAME |
GIF |
LOCATION |
MPEG4_GIF |
PHOTO |
STICKER |
VENUE |
VIDEO |
VOICE |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InlineQueryResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InlineQueryResultType ARTICLE
public static final InlineQueryResultType PHOTO
public static final InlineQueryResultType GIF
public static final InlineQueryResultType MPEG4_GIF
public static final InlineQueryResultType VIDEO
public static final InlineQueryResultType AUDIO
public static final InlineQueryResultType VOICE
public static final InlineQueryResultType DOCUMENT
public static final InlineQueryResultType LOCATION
public static final InlineQueryResultType VENUE
public static final InlineQueryResultType CONTACT
public static final InlineQueryResultType STICKER
public static final InlineQueryResultType GAME
public static InlineQueryResultType[] values()
for (InlineQueryResultType c : InlineQueryResultType.values()) System.out.println(c);
public static InlineQueryResultType 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.