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

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.Game{
  animation: Telegex.Model.Animation.t() | nil,
  description: String.t(),
  photo: [Telegex.Model.PhotoSize.t()],
  text: String.t() | nil,
  text_entities: [Telegex.Model.MessageEntity.t()] | nil,
  title: String.t()
}

Link to this section Functions

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