Telegex v0.1.2 Telegex.Model.InputMediaAudio View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.InputMediaAudio{
  caption: String.t() | nil,
  duration: integer() | nil,
  media: String.t(),
  parse_mode: String.t() | nil,
  performer: String.t() | nil,
  thumb: (Telegex.Model.InputFile.t() | String.t()) | nil,
  title: String.t() | nil,
  type: String.t()
}

Link to this section Functions

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