StaticaudioUnique identifier for this result, 1-64 bytes.
A valid file identifier for the audio file.
Optionaloptions: Omit<InlineQueryResultCachedAudio, "id" | "type" | "audio_file_id">out parameters.
StaticdocumentRepresents 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.
Optionaloptions: Omit<out parameters.
StaticgifRepresents 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.
Optionaloptions: Omit<InlineQueryResultCachedGif, "id" | "type" | "gif_file_id">out parameters.
Staticmpeg4Represents 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.
Optionaloptions: Omit<InlineQueryResultCachedMpeg4Gif, "id" | "type" | "mpeg4_file_id">out parameters.
StaticphotoRepresents 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.
Optionaloptions: Omit<InlineQueryResultCachedPhoto, "id" | "type" | "photo_file_id">out parameters.
StaticstickerRepresents 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.
Optionaloptions: Omit<InlineQueryResultCachedSticker, "id" | "type" | "sticker_file_id">out parameters.
StaticvideoRepresents 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.
Optionaloptions: Omit<InlineQueryResultCachedVideo, "id" | "type" | "title" | "video_file_id">out parameters.
StaticvoiceRepresents 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.
Optionaloptions: Omit<InlineQueryResultCachedVoice, "id" | "type" | "title" | "voice_file_id">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.