telegram api constructor · layer 229 · #d072acb4

restrictionReason

Restriction reason.

definition

restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason;

parameters

nametypedescription
platformstringPlatform identifier (ios, android, wp, all, etc.), can be concatenated with a dash as separator (android-ios, ios-wp, etc)
reasonstringRestriction reason (porno, terms, etc.). Ignore this restriction reason if it is contained in the ignore_restriction_reasons » client configuration parameter.
textstringError message to be shown to the user

type

RestrictionReason

history

present in layers 105–229

idlayers
#d072acb4105–229