Telegex.Model.Chat (Telegex v0.1.5) View Source
Link to this section Summary
Functions
Convert map data to Elixir.Telegex.Model.Chat.
Unlike Kernel.struct/2, this function will convert nested struct fields together.
Link to this section Types
Specs
t() :: %Telegex.Model.Chat{
can_set_sticker_set: boolean() | nil,
description: String.t() | nil,
first_name: String.t() | nil,
id: integer(),
invite_link: String.t() | nil,
last_name: String.t() | nil,
location: Telegex.Model.ChatLocation.t() | nil,
permissions: Telegex.Model.ChatPermissions.t() | nil,
photo: Telegex.Model.ChatPhoto.t() | nil,
pinned_message: Telegex.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
}
Link to this section Functions
Convert map data to Elixir.Telegex.Model.Chat.
Unlike Kernel.struct/2, this function will convert nested struct fields together.