View Source Telegex.Type.InlineQueryResultDocument (Telegex v1.8.0)

Represents 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.

Summary

Types

@type t() :: %Telegex.Type.InlineQueryResultDocument{
  caption: String.t() | nil,
  caption_entities: [Telegex.Type.MessageEntity.t()] | nil,
  description: String.t() | nil,
  document_url: String.t(),
  id: String.t(),
  input_message_content: Telegex.Type.InputMessageContent.t() | nil,
  mime_type: String.t(),
  parse_mode: String.t() | nil,
  reply_markup: Telegex.Type.InlineKeyboardMarkup.t() | nil,
  thumbnail_height: integer() | nil,
  thumbnail_url: String.t() | nil,
  thumbnail_width: integer() | nil,
  title: String.t(),
  type: String.t()
}