ExGram.Model.InputMediaAnimation (ex_gram v0.40.0) View Source
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
Link to this section Summary
Link to this section Types
Specs
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,
thumbnail:
({:file, String.t()}
| {:file_content, iodata() | Enum.t(), String.t()}
| String.t())
| nil,
type: String.t(),
width: integer() | nil
}