Current section

Files

Jump to
telega include telega@model_ChatAdministratorRights.hrl
Raw

include/telega@model_ChatAdministratorRights.hrl

-record(chat_administrator_rights, {
is_anonymous :: boolean(),
can_manage_chat :: boolean(),
can_delete_messages :: boolean(),
can_manage_voice_chats :: boolean(),
can_restrict_members :: boolean(),
can_promote_members :: boolean(),
can_change_info :: boolean(),
can_invite_users :: boolean(),
can_post_stories :: boolean(),
can_edit_stories :: boolean(),
can_delete_stories :: boolean(),
can_post_messages :: gleam@option:option(boolean()),
can_edit_messages :: gleam@option:option(boolean()),
can_pin_messages :: gleam@option:option(boolean()),
can_manage_topics :: gleam@option:option(boolean())
}).