contacts.DeleteContacts

class pyrogram.raw.functions.contacts.DeleteContacts

Deletes several contacts from the list.

Details:
  • Layer: 223

  • ID: 96A0E00

Parameters:

id (List of InputUser) – User ID list

Returns:

Updates

TL Schema

contacts.deleteContacts#96a0e00
id:Vector<InputUser>

= Updates

Parameter Tree

DeleteContacts
└── idVector < InputUser >
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── user_idlong

Example

await app.invoke(
    DeleteContacts(
        id=[
                await app.resolve_user(chat_id)
            ],
    )
)