messages.HideAllChatJoinRequests

class pyrogram.raw.functions.messages.HideAllChatJoinRequests

Dismiss or approve all join requests related to a specific chat or channel.

Details:
  • Layer: 223

  • ID: E085F4EA

Parameters:
  • peer (InputPeer) – The chat or channel

  • approved (bool, optional) – Whether to dismiss or approve all chat join requests »

  • link (str, optional) – Only dismiss or approve join requests » initiated using this invite link

Returns:

Updates

TL Schema

messages.hideAllChatJoinRequests#e085f4ea
flags:#
approved:flags.0?true
peer:InputPeer
link:flags.1?string

= Updates

Parameter Tree

HideAllChatJoinRequests
├── approvedtrue (optional)
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── linkstring (optional)

Example

await app.invoke(
    HideAllChatJoinRequests(
        approved=None,
        peer=await app.resolve_peer(chat_id),
        link="text",
    )
)