ExGram.Model.User (ex_gram v0.55.1)

View Source

This object represents a Telegram user or bot.

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

Summary

Types

t()

@type t() :: %ExGram.Model.User{
  added_to_attachment_menu: boolean() | nil,
  can_connect_to_business: boolean() | nil,
  can_join_groups: boolean() | nil,
  can_read_all_group_messages: boolean() | nil,
  first_name: String.t(),
  has_main_web_app: boolean() | nil,
  id: integer(),
  is_bot: boolean(),
  is_premium: boolean() | nil,
  language_code: String.t() | nil,
  last_name: String.t() | nil,
  supports_inline_queries: boolean() | nil,
  username: String.t() | nil
}

Functions

decode_as()