Inline Query Result Cached Document
data class InlineQueryResultCachedDocument(type: String, id: String, title: String, document_file_id: String, description: String?, caption: String?, parse_mode: ParseMode?, caption_entities: List<MessageEntity>?, reply_markup: InlineKeyboardMarkup?, input_message_content: InputMessageContent?) : InlineQueryResult
Content copied to clipboard
Represents 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.
Note: This will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
Constructors
InlineQueryResultCachedDocument
Link copied to clipboard
fun InlineQueryResultCachedDocument(type: String, id: String, title: String, document_file_id: String, description: String? = null, caption: String? = null, parse_mode: ParseMode? = null, caption_entities: List<MessageEntity>? = null, reply_markup: InlineKeyboardMarkup? = null, input_message_content: InputMessageContent? = null)
Content copied to clipboard
Creates a InlineQueryResultCachedDocument.
Properties
caption_entities
Link copied to clipboard
description
Link copied to clipboard
document_file_id
Link copied to clipboard
input_message_content
Link copied to clipboard
parse_mode
Link copied to clipboard
reply_markup
Link copied to clipboard