Layer 220
InputPrivacyValueAllowChatParticipants
Allow only participants of certain chats
constructor
inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivacyRule;
Parameters
| Name | Type | Description |
|---|---|---|
| Chats | Vector<long> | 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)). |
Returns
InputPrivacyRuleGogram Example
// Creating InputPrivacyValueAllowChatParticipants constructor obj := &tg.InputPrivacyValueAllowChatParticipants{ Chats: []long{}, }