View Source ExGram.Model.User (ex_gram v0.52.1)

This object represents a Telegram user or bot.

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

Summary

Types

@type t() :: %ExGram.Model.User{
  added_to_attachment_menu: boolean() | nil,
  can_join_groups: boolean() | nil,
  can_read_all_group_messages: boolean() | nil,
  first_name: String.t(),
  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