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

Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.

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

Summary

Types

@type t() :: %ExGram.Model.InputMediaAnimation{
  caption: String.t() | nil,
  caption_entities: [ExGram.Model.MessageEntity.t()] | nil,
  duration: integer() | nil,
  has_spoiler: boolean() | nil,
  height: integer() | nil,
  media: String.t(),
  parse_mode: String.t() | nil,
  show_caption_above_media: boolean() | nil,
  thumbnail:
    ({:file, String.t()}
     | {:file_content, iodata() | Enum.t(), String.t()}
     | String.t())
    | nil,
  type: String.t(),
  width: integer() | nil
}

Functions