Static
articleRepresents a link to an article or web page.
Unique identifier for this result, 1-64 Bytes.
Title of the result.
Content of the message to be sent.
Optional
options: Omit<InlineQueryResultArticle, out parameters.
Static
audioRepresents a link to an MP3 audio file. By default, this audio file will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the audio.
Unique identifier for this result, 1-64 Bytes.
Title.
A valid URL for the audio file.
Optional
options: Omit<InlineQueryResultAudio, out parameters.
Static
contactRepresents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.
Unique identifier for this result, 1-64 Bytes.
Contact's phone number.
Contact's first name
Optional
options: Omit<InlineQueryResultContact, out parameters.
Static
documentRepresents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.
Unique identifier for this result, 1-64 Bytes.
Title for the result.
A valid URL for the file.
Optional
options: Omit<InlineQueryResultDocument, out parameters.
Static
documentRepresents a link to a file. By default, this file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the file. Currently, only .PDF and .ZIP files can be sent using this method.
Unique identifier for this result, 1-64 Bytes.
Title for the result.
A valid URL for the file.
Optional
options: Omit<InlineQueryResultDocument, out parameters.
Static
gameRepresents a Game.
Unique identifier for this result, 1-64 Bytes.
Short name of the game.
Optional
replyMarkup: InlineKeyboardMarkupInline keyboard attached to the message.
Static
gifRepresents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Unique identifier for this result, 1-64 Bytes.
A valid URL for the GIF file. File size must not exceed 1MB.
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result.
Optional
options: Omit<InlineQueryResultGif, out parameters.
Static
locationRepresents a location on a map. By default, the location will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the location.
Unique identifier for this result, 1-64 Bytes.
Location latitude in degrees.
Location longitude in degrees.
Location title.
Optional
options: Omit<InlineQueryResultLocation, out parameters
Static
mpeg4Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). By default, this animated MPEG-4 file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation.
Unique identifier for this result, 1-64 Bytes.
A valid URL for the MPEG4 file. File size must not exceed 1MB.
URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result.
Optional
options: Omit<InlineQueryResultMpeg4Gif, out parameters.
Static
photoRepresents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
Unique identifier for this result, 1-64 Bytes.
A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB.
URL of the thumbnail for the photo.
Optional
options: Omit<InlineQueryResultPhoto, out parameters.
Static
venueRepresents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
Unique identifier for this result, 1-64 Bytes.
out parameters.
Static
videoRepresents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you must replace its content using input_message_content.
Unique identifier for this result, 1-64 bytes.
Title for the result.
A valid URL for the embedded video player or video file.
URL of the thumbnail (JPEG only) for the video.
Optional
options: Omit<InlineQueryResultVideo, out parameters.
Static
videoRepresents a link to a page containing an embedded video player or a video file. By default, this video file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the video.
If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube), you must replace its content using input_message_content.
Unique identifier for this result, 1-64 bytes.
Title for the result.
A valid URL for the embedded video player or video file.
URL of the thumbnail (JPEG only) for the video.
Optional
options: Omit<InlineQueryResultVideo, out parameters.
Static
voiceRepresents a link to a voice recording in an .OGG container encoded with OPUS. By default, this voice recording will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the the voice message.
Unique identifier for this result, 1-64 bytes.
Recording title.
A valid URL for the voice recording.
Optional
options: Omit<InlineQueryResultVoice, out parameters.
Cached result of InlineQuery builder