Interface UserPermissionFlags

Interface representing the user permission flags.

interface UserPermissionFlags {
    changeInfo?: boolean;
    deleteMessages?: boolean;
    deleteStories?: boolean;
    editMessages?: boolean;
    editStories?: boolean;
    inviteUsers?: boolean;
    manageChat?: boolean;
    manageTopics?: boolean;
    manageVideoChats?: boolean;
    pinMessages?: boolean;
    postMessages?: boolean;
    postStories?: boolean;
    promoteMembers?: boolean;
    restrictMembers?: boolean;
}

Properties

changeInfo?: boolean
deleteMessages?: boolean
deleteStories?: boolean
editMessages?: boolean
editStories?: boolean
inviteUsers?: boolean
manageChat?: boolean
manageTopics?: boolean
manageVideoChats?: boolean
pinMessages?: boolean
postMessages?: boolean
postStories?: boolean
promoteMembers?: boolean
restrictMembers?: boolean