Class InlineQueryResult
This object represents one result of an inline query. Telegram clients currently support results of the following 20 types: InlineQueryResultCachedAudio, InlineQueryResultCachedDocument, InlineQueryResultCachedGif, InlineQueryResultCachedMpeg4Gif, InlineQueryResultCachedPhoto, InlineQueryResultCachedSticker, InlineQueryResultCachedVideo, InlineQueryResultCachedVoice, InlineQueryResultArticle, InlineQueryResultAudio, InlineQueryResultContact, InlineQueryResultGame, InlineQueryResultDocument, InlineQueryResultGif, InlineQueryResultLocation, InlineQueryResultMpeg4Gif, InlineQueryResultPhoto, InlineQueryResultVenue, InlineQueryResultVideo, InlineQueryResultVoice,
Inheritance
Inherited Members
Namespace: TelegramBotApi.Types.Inline
Assembly: TelegramBotApi.dll
Syntax
public abstract class InlineQueryResult
Properties
| Improve this Doc View SourceId
Unique ID of this one result to be given back to the bot if this is selected
Declaration
public abstract string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of the inline query result
Declaration
public abstract string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |