View Source ExGram.Model.InputMediaAudio (ex_gram v0.51.0)

Represents an audio file to be treated as music to be sent.

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

Summary

Types

@type t() :: %ExGram.Model.InputMediaAudio{
  caption: String.t() | nil,
  caption_entities: [ExGram.Model.MessageEntity.t()] | nil,
  duration: integer() | nil,
  media: String.t(),
  parse_mode: String.t() | nil,
  performer: String.t() | nil,
  thumbnail:
    ({:file, String.t()}
     | {:file_content, iodata() | Enum.t(), String.t()}
     | String.t())
    | nil,
  title: String.t() | nil,
  type: String.t()
}

Functions