ExGram.Model.Chat (ex_gram v0.40.0) View Source
This object represents a chat.
Check the documentation of this model in https://core.telegram.org/bots/api#chat
Link to this section Summary
Link to this section Types
Specs
t() :: %ExGram.Model.Chat{
active_usernames: [String.t()] | nil,
bio: String.t() | nil,
can_set_sticker_set: boolean() | nil,
description: String.t() | nil,
emoji_status_custom_emoji_id: String.t() | nil,
first_name: String.t() | nil,
has_aggressive_anti_spam_enabled: boolean() | nil,
has_hidden_members: boolean() | nil,
has_private_forwards: boolean() | nil,
has_protected_content: boolean() | nil,
has_restricted_voice_and_video_messages: boolean() | nil,
id: integer(),
invite_link: String.t() | nil,
is_forum: boolean() | nil,
join_by_request: boolean() | nil,
join_to_send_messages: boolean() | nil,
last_name: String.t() | nil,
linked_chat_id: integer() | nil,
location: ExGram.Model.ChatLocation.t() | nil,
message_auto_delete_time: integer() | nil,
permissions: ExGram.Model.ChatPermissions.t() | nil,
photo: ExGram.Model.ChatPhoto.t() | nil,
pinned_message: ExGram.Model.Message.t() | nil,
slow_mode_delay: integer() | nil,
sticker_set_name: String.t() | nil,
title: String.t() | nil,
type: String.t(),
username: String.t() | nil
}