Constructor: accessPointRule

Back to constructors index

Attributes:

Name Type Required
phone_prefix_rules string Yes
dc_id int Yes
ips Array of IpPort Yes

Type: AccessPointRule

Example:

$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];

PWRTelegram json-encoded version:

{"_": "accessPointRule", "phone_prefix_rules": "string", "dc_id": int, "ips": [IpPort]}

Or, if you’re into Lua:

accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}