chatlists.JoinChatlistUpdates

class pyrogram.raw.functions.chatlists.JoinChatlistUpdates

Join channels and supergroups recently added to a chat folder deep link ».

Details:
  • Layer: 223

  • ID: E089F8F5

Parameters:
  • chatlist (InputChatlist) – The folder

  • peers (List of InputPeer) – List of new chats to join, fetched using chatlists.getChatlistUpdates and filtered as specified in the documentation ».

Returns:

Updates

TL Schema

chatlists.joinChatlistUpdates#e089f8f5
chatlist:InputChatlist
peers:Vector<InputPeer>

= Updates

Parameter Tree

JoinChatlistUpdates
├── chatlistInputChatlist
│ └── filter_idint
└── peersVector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    JoinChatlistUpdates(
        chatlist=InputChatlistDialogFilter(filter_id=0),
        peers=[
                await app.resolve_peer(chat_id)
            ],
    )
)