Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Participant\Rights\Banned

Back to index

Author: Daniil Gentili daniil@daniil.it

Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are inverted: if set, a flag does not allow a user to do X.

Properties

  • $viewMessages: bool If set, does not allow a user to view messages in a supergroup/chat
  • $sendMessages: bool If set, does not allow a user to send messages in a supergroup/chat
  • $sendMedia: bool If set, does not allow a user to send any media in a supergroup/chat
  • $sendStickers: bool If set, does not allow a user to send stickers in a supergroup/chat
  • $sendGifs: bool If set, does not allow a user to send stickers in a supergroup/chat
  • $sendGames: bool If set, does not allow a user to send games in a supergroup/chat
  • $sendInline: bool If set, does not allow a user to use inline bots in a supergroup/chat
  • $embedLinks: bool If set, does not allow a user to embed links in the messages of a supergroup/chat
  • $sendPolls: bool If set, does not allow a user to send polls in a supergroup/chat
  • $changeInfo: bool If set, does not allow any user to change the description of a supergroup/chat
  • $inviteUsers: bool If set, does not allow any user to invite users in a supergroup/chat
  • $pinMessages: bool If set, does not allow any user to pin messages in a supergroup/chat
  • $manageTopics: bool If set, does not allow any user to create, delete or modify forum topics ».
  • $sendPhotos: bool If set, does not allow a user to send photos in a supergroup/chat
  • $sendVideos: bool If set, does not allow a user to send videos in a supergroup/chat
  • $sendRoundvideos: bool If set, does not allow a user to send round videos in a supergroup/chat
  • $sendAudios: bool If set, does not allow a user to send audio files in a supergroup/chat
  • $sendDocs: bool If set, does not allow a user to send documents in a supergroup/chat
  • $sendPlain: bool If set, does not allow a user to send text messages in a supergroup/chat
  • $untilDate: int Validity of said permissions (it is considered forever any value less then 30 seconds or more then 366 days). — Generated by danog/phpdoc