InputPrivacyRule #

Privacy rules indicate who can or can't do something and are specified by a PrivacyRule, and its input counterpart InputPrivacyRule.

See the privacy documentation » for more info.

Layer 223

inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;
inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;
inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;
inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivacyRule;
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
inputPrivacyValueAllowBots#5a4fcce5 = InputPrivacyRule;
inputPrivacyValueDisallowBots#c4e57915 = InputPrivacyRule;

Constructors #

ConstructorDescription
inputPrivacyValueAllowContactsAllow only contacts
inputPrivacyValueAllowAllAllow all users
inputPrivacyValueAllowUsersAllow only certain users
inputPrivacyValueDisallowContactsDisallow only contacts
inputPrivacyValueDisallowAllDisallow all
inputPrivacyValueDisallowUsersDisallow only certain users
inputPrivacyValueAllowChatParticipantsAllow only participants of certain chats
inputPrivacyValueDisallowChatParticipantsDisallow only participants of certain chats
inputPrivacyValueAllowCloseFriendsAllow only close friends »
inputPrivacyValueAllowPremiumAllow only users with a Premium subscription », currently only usable for inputPrivacyKeyChatInvite.
inputPrivacyValueAllowBotsAllow bots and mini apps
inputPrivacyValueDisallowBotsDisallow bots and mini apps

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.

See the privacy documentation » for more info.

InputPrivacyRule #

Privacy rules indicate who can or can't do something and are specified by a PrivacyRule, and its input counterpart InputPrivacyRule.

See the privacy documentation » for more info.

Privacy settings #

Telegram allows users to specify granular privacy settings, choosing which users can or can't interact with them in certain ways.