chatlists.JoinChatlistUpdates

class pyrogram.raw.functions.chatlists.JoinChatlistUpdates

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

Details:
  • Layer: 227

  • 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
├── chatlist → InputChatlist
│ └── filter_id → int
└── peers → Vector < InputPeer >
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_id → long
├── InputPeerUser
│ ├── user_id → long
│ └── access_hash → long
│ ├── channel_id → long
│ └── access_hash → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── user_id → long
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_id → int
└── channel_id → long

Example

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