chatlists.JoinChatlistInvite

class pyrogram.raw.functions.chatlists.JoinChatlistInvite

Import a chat folder deep link », joining some or all the chats in the folder.

Details:
  • Layer: 223

  • ID: A6B1E39A

Parameters:
  • slug (str) – slug obtained from a chat folder deep link ».

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

Returns:

Updates

TL Schema

chatlists.joinChatlistInvite#a6b1e39a
slug:string
peers:Vector<InputPeer>

= Updates

Parameter Tree

JoinChatlistInvite
├── slugstring
└── 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(
    JoinChatlistInvite(
        slug="text",
        peers=[
                await app.resolve_peer(chat_id)
            ],
    )
)