telegram api type · layer 229
PrivacyRule
Privacy rules together with privacy keys indicate what can or can't someone do and are specified by a PrivacyRule constructor, and its input counterpart InputPrivacyRule.
constructors (12)
| constructor | id | description |
|---|---|---|
| privacyValueAllowContacts | #fffe1bac | Allow all contacts |
| privacyValueAllowAll | #65427b82 | Allow all users |
| privacyValueAllowUsers | #b8905fb2 | Allow only certain users |
| privacyValueDisallowContacts | #f888fa1a | Disallow only contacts |
| privacyValueDisallowAll | #8b73e763 | Disallow all users |
| privacyValueDisallowUsers | #e4621141 | Disallow only certain users |
| privacyValueAllowChatParticipants | #6b134e8e | Allow all participants of certain chats |
| privacyValueDisallowChatParticipants | #41c87565 | Disallow only participants of certain chats |
| privacyValueAllowCloseFriends | #f7e8d89b | Allow only close friends » |
| privacyValueAllowPremium | #ece9814b | Allow only users with a Premium subscription », currently only usable for inputPrivacyKeyChatInvite. |
| privacyValueAllowBots | #21461b5d | Allow bots and mini apps |
| privacyValueDisallowBots | #f6a5f82f | Disallow bots and mini apps |