PrivacyValueAllowChatParticipants

class pyrogram.raw.types.PrivacyValueAllowChatParticipants

Allow all participants of certain chats

Constructor of PrivacyRule.

Details:
  • Layer: 223

  • ID: 6B134E8E

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

privacyValueAllowChatParticipants#6b134e8e
chats:Vector<long>

= PrivacyRule

Parameter Tree

PrivacyValueAllowChatParticipants
└── chatsVector < long >

Example

PrivacyValueAllowChatParticipants(
    chats=[0],
)