View Source ExGram.Model.ChatMemberAdministrator (ex_gram v0.51.0)

Represents a chat member that has some additional privileges.

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

Summary

Types

@type t() :: %ExGram.Model.ChatMemberAdministrator{
  can_be_edited: boolean(),
  can_change_info: boolean(),
  can_delete_messages: boolean(),
  can_delete_stories: boolean(),
  can_edit_messages: boolean() | nil,
  can_edit_stories: boolean(),
  can_invite_users: boolean(),
  can_manage_chat: boolean(),
  can_manage_topics: boolean() | nil,
  can_manage_video_chats: boolean(),
  can_pin_messages: boolean() | nil,
  can_post_messages: boolean() | nil,
  can_post_stories: boolean(),
  can_promote_members: boolean(),
  can_restrict_members: boolean(),
  custom_title: String.t() | nil,
  is_anonymous: boolean(),
  status: String.t(),
  user: ExGram.Model.User.t()
}

Functions