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: 227

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