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

Link to this section Summary

Functions

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

Link to this section Types

Specs

t() :: %Telegex.Model.User{
  can_join_groups: boolean() | nil,
  can_read_all_group_messages: boolean() | nil,
  first_name: String.t(),
  id: integer(),
  is_bot: boolean(),
  language_code: String.t() | nil,
  last_name: String.t() | nil,
  supports_inline_queries: boolean() | nil,
  username: String.t() | nil
}

Link to this section Functions

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