Telegex v0.1.0-rc.7 Telegex.Model.PhotoSize View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.PhotoSize{
  file_id: String.t(),
  file_size: integer() | nil,
  file_unique_id: String.t(),
  height: integer(),
  width: integer()
}

Link to this section Functions

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