chatlists.EditExportedInvite

class pyrogram.raw.functions.chatlists.EditExportedInvite

Edit a chat folder deep link ».

Details:
  • Layer: 223

  • ID: 653DB63D

Parameters:
  • chatlist (InputChatlist) – Folder ID

  • slug (str) – slug obtained from the chat folder deep link ».

  • title (str, optional) – If set, sets a new name for the link

  • peers (List of InputPeer, optional) – If set, changes the list of peers shared with the link

Returns:

ExportedChatlistInvite

TL Schema

chatlists.editExportedInvite#653db63d
flags:#
chatlist:InputChatlist
slug:string
title:flags.1?string
peers:flags.2?Vector<InputPeer>

= ExportedChatlistInvite

Parameter Tree

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