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)

constructoriddescription
inputPrivacyValueAllowContacts#0d09e07bAllow only contacts
inputPrivacyValueAllowAll#184b35ceAllow all users
inputPrivacyValueAllowUsers#131cc67fAllow only certain users
inputPrivacyValueDisallowContacts#0ba52007Disallow only contacts
inputPrivacyValueDisallowAll#d66b66c9Disallow all
inputPrivacyValueDisallowUsers#90110467Disallow only certain users
inputPrivacyValueAllowChatParticipants#840649cfAllow only participants of certain chats
inputPrivacyValueDisallowChatParticipants#e94f0f86Disallow only participants of certain chats
inputPrivacyValueAllowCloseFriends#2f453e49Allow only close friends »
inputPrivacyValueAllowPremium#77cdc9f1Allow only users with a Premium subscription », currently only usable for inputPrivacyKeyChatInvite.
inputPrivacyValueAllowBots#5a4fcce5Allow bots and mini apps
inputPrivacyValueDisallowBots#c4e57915Disallow bots and mini apps

used by (4)