View Source Telegex.Type.ChatAdministratorRights (Telegex v1.8.0)

Represents the rights of an administrator in a chat.

Summary

Types

@type t() :: %Telegex.Type.ChatAdministratorRights{
  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(),
  is_anonymous: boolean()
}