Telegex v0.1.2 Telegex.Model.ChatPermissions View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.ChatPermissions. Unlike struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.ChatPermissions{
  can_add_web_page_previews: boolean() | nil,
  can_change_info: boolean() | nil,
  can_invite_users: boolean() | nil,
  can_pin_messages: boolean() | nil,
  can_send_media_messages: boolean() | nil,
  can_send_messages: boolean() | nil,
  can_send_other_messages: boolean() | nil,
  can_send_polls: boolean() | nil
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.ChatPermissions. Unlike struct/2, this function will convert nested struct fields together.