View Source ExGram.Model.InputMediaDocument (ex_gram v0.53.0)

Represents a general file to be sent.

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

Summary

Types

@type t() :: %ExGram.Model.InputMediaDocument{
  caption: String.t() | nil,
  caption_entities: [ExGram.Model.MessageEntity.t()] | nil,
  disable_content_type_detection: boolean() | nil,
  media: String.t(),
  parse_mode: String.t() | nil,
  thumbnail:
    ({:file, String.t()}
     | {:file_content, iodata() | Enum.t(), String.t()}
     | String.t())
    | nil,
  type: String.t()
}

Functions