Link Search Menu Expand Document

danog\MadelineProto\Broadcast\Filter

Back to index

Author: Daniil Gentili daniil@daniil.it

Broadcast filter.

Properties

  • $allowUsers: bool
  • $allowBots: bool
  • $allowGroups: bool
  • $allowChannels: bool
  • $blacklist: list<int>
  • $whitelist: (list<int> | null) If null all IDs are allowed (*)

Method list:

Methods:

__construct(bool $allowUsers, bool $allowBots, bool $allowGroups, bool $allowChannels, array $blacklist = [], ?array $whitelist = NULL)

Parameters:

  • $allowUsers: bool
  • $allowBots: bool
  • $allowGroups: bool
  • $allowChannels: bool
  • $blacklist: array
  • $whitelist: ?array

default(): self


Generated by danog/phpdoc