telegram api constructor · layer 229 · #d072acb4
restrictionReason
Restriction reason.
definition
restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason;
parameters
| name | type | description |
|---|---|---|
platform | string | Platform identifier (ios, android, wp, all, etc.), can be concatenated with a dash as separator (android-ios, ios-wp, etc) |
reason | string | Restriction reason (porno, terms, etc.). Ignore this restriction reason if it is contained in the ignore_restriction_reasons » client configuration parameter. |
text | string | Error message to be shown to the user |
type
history
present in layers 105–229
| id | layers |
|---|---|
| #d072acb4 | 105–229 |