telegram api type · layer 229
InputPrivacyRule
Privacy rules indicate who can or can't do something and are specified by a PrivacyRule, and its input counterpart InputPrivacyRule.
constructors (12)
| constructor | id | description |
|---|---|---|
| inputPrivacyValueAllowContacts | #0d09e07b | Allow only contacts |
| inputPrivacyValueAllowAll | #184b35ce | Allow all users |
| inputPrivacyValueAllowUsers | #131cc67f | Allow only certain users |
| inputPrivacyValueDisallowContacts | #0ba52007 | Disallow only contacts |
| inputPrivacyValueDisallowAll | #d66b66c9 | Disallow all |
| inputPrivacyValueDisallowUsers | #90110467 | Disallow only certain users |
| inputPrivacyValueAllowChatParticipants | #840649cf | Allow only participants of certain chats |
| inputPrivacyValueDisallowChatParticipants | #e94f0f86 | Disallow only participants of certain chats |
| inputPrivacyValueAllowCloseFriends | #2f453e49 | Allow only close friends » |
| inputPrivacyValueAllowPremium | #77cdc9f1 | Allow only users with a Premium subscription », currently only usable for inputPrivacyKeyChatInvite. |
| inputPrivacyValueAllowBots | #5a4fcce5 | Allow bots and mini apps |
| inputPrivacyValueDisallowBots | #c4e57915 | Disallow bots and mini apps |