InlineQueryResultType enum
This object represents the type of a result of an inline query.
Constructors
- InlineQueryResultType(String value)
-
Constructs a new InlineQueryResultType.
const
Values
- article → const InlineQueryResultType
-
Represents a link to an article or web page.
const InlineQueryResultType("article")
- photo → const InlineQueryResultType
-
Represents a link to a photo.
const InlineQueryResultType("photo")
- gif → const InlineQueryResultType
-
Represents an animated GIF file.
const InlineQueryResultType("gif")
- mpeg4Gif → const InlineQueryResultType
-
Represents a video animation (H.264/MPEG-4 AVC video without sound).
const InlineQueryResultType("mpeg4_gif")
- video → const InlineQueryResultType
-
Represents a video file.
const InlineQueryResultType("video")
- audio → const InlineQueryResultType
-
Represents an MP3 audio file.
const InlineQueryResultType("audio")
- voice → const InlineQueryResultType
-
Represents a voice recording in an .ogg container encoded with OPUS.
const InlineQueryResultType("voice")
- document → const InlineQueryResultType
-
Represents a file.
const InlineQueryResultType("document")
- location → const InlineQueryResultType
-
Represents a location on a map.
const InlineQueryResultType("location")
- venue → const InlineQueryResultType
-
Represents a venue.
const InlineQueryResultType("venue")
- contact → const InlineQueryResultType
-
Represents a contact with a phone number.
const InlineQueryResultType("contact")
- game → const InlineQueryResultType
-
Represents a game.
const InlineQueryResultType("game")
- sticker → const InlineQueryResultType
-
Represents a native poll.
const InlineQueryResultType("sticker")
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Stringifies the enum.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
InlineQueryResultType> - A constant List of the values in this enum, in order of their declaration.