chatlists.ExportChatlistInvite

class pyrogram.raw.functions.chatlists.ExportChatlistInvite

Export a folder », creating a chat folder deep link ».

Details:
  • Layer: 223

  • ID: 8472478E

Parameters:
  • chatlist (InputChatlist) – The folder to export

  • title (str) – An optional name for the link

  • peers (List of InputPeer) – The list of channels, group and supergroups to share with the link. Basic groups will automatically be converted to supergroups when invoking the method.

Returns:

chatlists.ExportedChatlistInvite

TL Schema

chatlists.exportChatlistInvite#8472478e
chatlist:InputChatlist
title:string
peers:Vector<InputPeer>

= chatlists.ExportedChatlistInvite

Parameter Tree

ExportChatlistInvite
├── chatlistInputChatlist
│ └── filter_idint
├── titlestring
└── 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(
    ExportChatlistInvite(
        chatlist=InputChatlistDialogFilter(filter_id=0),
        title="text",
        peers=[
                await app.resolve_peer(chat_id)
            ],
    )
)