import String from "./String"; import InlineKeyboardMarkup from "./InlineKeyboardMarkup"; import InputMessageContent from "./InputMessageContent"; /** Represents 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. */ export default class InlineQueryResultCachedGif implements IInlineQueryResultCachedGif { constructor(data: IInlineQueryResultCachedGif | InlineQueryResultCachedGif, token?: string); public type: String; public id: String; public gif_file_id: String; public title?: String; public caption?: String; public parse_mode?: String; public reply_markup?: InlineKeyboardMarkup; public input_message_content?: InputMessageContent; } export interface IInlineQueryResultCachedGif { /** Type of the result, must be *gif* */ type: String; /** Unique identifier for this result, 1-64 bytes */ id: String; /** A valid file identifier for the GIF file */ gif_file_id: String; /** Title for the result */ title?: String; /** Caption of the GIF file to be sent, 0-1024 characters */ caption?: String; /** Send [*Markdown*](https://core.telegram.org/bots/api#markdown-style) or [*HTML*](https://core.telegram.org/bots/api#html-style), if you want Telegram apps to show [bold, italic, fixed-width text or inline URLs](https://core.telegram.org/bots/api#formatting-options) in the media caption. */ parse_mode?: String; /** [Inline keyboard](https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating) attached to the message */ reply_markup?: InlineKeyboardMarkup; /** Content of the message to be sent instead of the GIF animation */ input_message_content?: InputMessageContent; }