# danog\MadelineProto\Broadcast\Filter: Broadcast filter.

[Back to index](../../../index.html)

> 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:
* [`__construct(bool $allowUsers, bool $allowBots, bool $allowGroups, bool $allowChannels, array $blacklist = [], ?array $whitelist = NULL)`](#__construct)
* [`default(): \danog\MadelineProto\Broadcast\Filter`](#default)

## Methods:
### <a name="__construct"></a> `__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`   



### <a name="default"></a> `default(): \danog\MadelineProto\Broadcast\Filter`





---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
