Class InlineQueryResult
- java.lang.Object
-
- com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
- Direct Known Subclasses:
InlineQueryResultArticle
,InlineQueryResultAudio
,InlineQueryResultCachedAudio
,InlineQueryResultCachedDocument
,InlineQueryResultCachedGif
,InlineQueryResultCachedMpeg4Gif
,InlineQueryResultCachedPhoto
,InlineQueryResultCachedSticker
,InlineQueryResultCachedVideo
,InlineQueryResultCachedVoice
,InlineQueryResultContact
,InlineQueryResultDocument
,InlineQueryResultGif
,InlineQueryResultLocation
,InlineQueryResultMpeg4Gif
,InlineQueryResultPhoto
,InlineQueryResultVenue
,InlineQueryResultVideo
,InlineQueryResultVoice
public abstract class InlineQueryResult extends Object
This object represents one result of an inline query. Telegram clients currently support results of the following 5 types:InlineQueryResultCachedAudio
InlineQueryResultCachedDocument
InlineQueryResultCachedGif
InlineQueryResultCachedMpeg4Gif
InlineQueryResultCachedPhoto
InlineQueryResultCachedSticker
InlineQueryResultCachedVideo
InlineQueryResultCachedVoice
InlineQueryResultArticle
InlineQueryResultAudio
InlineQueryResultContact
InlineQueryResultDocument
InlineQueryResultGif
InlineQueryResultLocation
InlineQueryResultMpeg4Gif
InlineQueryResultPhoto
InlineQueryResultVenue
InlineQueryResultVideo
InlineQueryResultVoice
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
Unique identifier for this result, 1-64 Bytesprotected InputMessageContent
inputMessageContent
Optional.protected InlineKeyboardMarkup
replyMarkup
Optional.protected String
type
Type of the result
-
Constructor Summary
Constructors Constructor Description InlineQueryResult(String type)
-
-
-
Field Detail
-
type
protected final String type
Type of the result
-
id
protected String id
Unique identifier for this result, 1-64 Bytes
-
replyMarkup
@Json(name="reply_markup") protected InlineKeyboardMarkup replyMarkup
Optional. Inline keyboard attached to the message
-
inputMessageContent
@Json(name="input_message_content") protected InputMessageContent inputMessageContent
Optional. Content of the message to be sent instead of the file
-
-
Constructor Detail
-
InlineQueryResult
public InlineQueryResult(String type)
-
-