Telegex.Model.InputMediaAnimation (Telegex v0.1.5) View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.InputMediaAnimation. Unlike Kernel.struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.InputMediaAnimation{
  caption: String.t() | nil,
  caption_entities: [Telegex.Model.MessageEntity.t()] | nil,
  duration: integer() | nil,
  height: integer() | nil,
  media: String.t(),
  parse_mode: String.t() | nil,
  thumb: (Telegex.Model.InputFile.t() | String.t()) | nil,
  type: String.t(),
  width: integer() | nil
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.InputMediaAnimation. Unlike Kernel.struct/2, this function will convert nested struct fields together.