Static
audioUnique identifier for this result, 1-64 bytes.
A valid file identifier for the audio file.
Optional
options: Omit<InlineQueryResultCachedAudio, "id" | "type" | "audio_file_id">out parameters.
Static
documentRepresents a link to a file stored on the Telegram servers. 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.
Unique identifier for this result, 1-64 bytes.
Title for the result.
A valid file identifier for the file.
Optional
options: Omit<InlineQueryResultCachedDocument, out parameters.
Static
gifRepresents a link to an animated GIF file stored on the Telegram servers. By default, this animated GIF file will be sent by the user with an optional caption. Alternatively, you can use input_message_content to send a message with specified content instead of the animation.
Unique identifier for this result, 1-64 bytes.
A valid file identifier for the GIF file.
Optional
options: Omit<InlineQueryResultCachedGif, "id" | "type" | "gif_file_id">out parameters.
Static
mpeg4Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) stored on the Telegram servers. By default, this animated MPEG-4 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 animation.
Unique identifier for this result, 1-64 bytes.
A valid file identifier for the GIF file.
Optional
options: Omit<InlineQueryResultCachedMpeg4Gif, "id" | "type" | "mpeg4_file_id">out parameters.
Static
photoRepresents a link to a photo stored on the Telegram servers. By default, this photo 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 photo.
Unique identifier for this result, 1-64 bytes.
A valid file identifier of the photo.
Optional
options: Omit<InlineQueryResultCachedPhoto, "id" | "type" | "photo_file_id">out parameters.
Static
stickerRepresents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the sticker.
Unique identifier for this result, 1-64 bytes.
A valid file identifier of the sticker.
Optional
options: Omit<InlineQueryResultCachedSticker, "id" | "type" | "sticker_file_id">out parameters.
Static
videoRepresents a link to a video file stored on the Telegram servers. 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.
Unique identifier for this result, 1-64 bytes.
Title for the result.
A valid file identifier for the video file.
Optional
options: Omit<InlineQueryResultCachedVideo, out parameters.
Static
voiceRepresents a link to a voice message stored on the Telegram servers. By default, this voice message will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the voice message.
Unique identifier for this result, 1-64 bytes.
Voice message title.
A valid file identifier for the voice message.
Optional
options: Omit<InlineQueryResultCachedVoice, out parameters.
Represents a link to an MP3 audio file stored on the Telegram servers. 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.