MadelineProtoDocs/old_docs/API_docs_v34/constructors/accessPointRule.md
2020-06-16 17:50:25 +02:00

827 B

title description image
accessPointRule accessPointRule attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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]];

Or, if you're into Lua:

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