Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PromoteChatMemberProps

Index

Properties

canChangeInfo?: boolean

Pass True, if the administrator can change chat title, photo and other settings

canDeleteMessages?: boolean

Pass True, if the administrator can delete messages of other users

canEditMessages?: boolean

Pass True, if the administrator can edit messages of other users and can pin messages, channels only

canInviteUsers?: boolean

Pass True, if the administrator can invite new users to the chat

canPinMessages?: boolean

Pass True, if the administrator can pin messages, supergroups only

canPostMessages?: boolean

Pass True, if the administrator can create channel posts, channels only

canPromoteMembers?: boolean

Pass True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by him)

canRestrictMembers?: boolean

Pass True, if the administrator can restrict, ban or unban chat members

userId: number

Unique identifier of the target user

Generated using TypeDoc