MadelineProtoDocs/docs/API_docs/constructors/restrictionReason.md

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'}