Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

canAddWebPagePreviews?: boolean

True, if the user is allowed to add web page previews to their messages, implies canSendMediaMessages

canChangeInfo?: boolean

True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups

canInviteUsers?: boolean

True, if the user is allowed to invite new users to the chat

canPinMessages?: boolean

True, if the user is allowed to pin messages. Ignored in public supergroups

canSendMediaMessages?: boolean

True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes, implies canSendMessages

canSendMessages?: boolean

True, if the user is allowed to send text messages, contacts, locations and venues

canSendOtherMessages?: boolean

True, if the user is allowed to send animations, games, stickers and use inline bots, implies canSendMediaMessages

canSendPolls?: boolean

True, if the user is allowed to send polls, implies canSendMessages

untilDate?: number | Date

Date when restrictions will be lifted for the user, unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever

Generated using TypeDoc