Telegex v0.1.2 Telegex.Model.MessageEntity View Source

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.MessageEntity{
  language: String.t() | nil,
  length: integer(),
  offset: integer(),
  type: String.t(),
  url: String.t() | nil,
  user: Telegex.Model.User.t() | nil
}

Link to this section Functions

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