ExGram.Model.User (ex_gram v0.40.0) View Source
This object represents a Telegram user or bot.
Check the documentation of this model in https://core.telegram.org/bots/api#user
Link to this section Summary
Link to this section Types
Specs
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
}