Restriction reason
restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason;
Constructor | Description |
---|---|
restrictionReason | Restriction reason. Contains the reason why access to a certain object must be restricted. Clients are supposed to deny access to the channel if the platform field is equal to all or to the current platform (ios , android , wp , etc.). Platforms can be concatenated (ios-android , ios-wp ), unknown platforms are to be ignored. The text is the error message that should be shown to the user.The restriction_add_platforms ยป client configuration parameter contains an array of platform identifiers that must also be treated as our own, in additional to the one hardcoded in the client. |