InputPrivacyValueAllowChatParticipants

class pyrogram.raw.types.InputPrivacyValueAllowChatParticipants

Allow only participants of certain chats

Constructor of InputPrivacyRule.

Details:
  • Layer: 223

  • ID: 840649CF

Parameters:

chats (List of int 64-bit) – Allowed chat IDs (either a chat or a supergroup ID, verbatim the way it is received in the constructor (i.e. unlike with bot API IDs, here group and supergroup IDs should be treated in the same way)).

TL Schema

inputPrivacyValueAllowChatParticipants#840649cf
chats:Vector<long>

= InputPrivacyRule

Parameter Tree

InputPrivacyValueAllowChatParticipants
└── chatsVector < long >

Example

InputPrivacyValueAllowChatParticipants(
    chats=[0],
)