MadelineProtoDocs/old_docs/API_docs_v105/constructors/restrictionReason.md
2019-09-13 17:13:55 +02:00

858 B

title description image
restrictionReason Restriction reason https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: restrictionReason

Back to constructors index

Restriction reason

Attributes:

Name Type Required Description
platform string Yes Platform
reason string Yes Reason
text string Yes Text

Type: RestrictionReason

Example:

$restrictionReason = ['_' => 'restrictionReason', 'platform' => 'string', 'reason' => 'string', 'text' => 'string'];

Or, if you're into Lua:

restrictionReason={_='restrictionReason', platform='string', reason='string', text='string'}