View Source ExGram.Model.InlineQueryResultDocument (ex_gram v0.50.1)

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.

Check the documentation of this model in https://core.telegram.org/bots/api#inlinequeryresultdocument

Summary

Types

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

Functions