contacts.DeleteByPhones

class pyrogram.raw.functions.contacts.DeleteByPhones

Delete contacts by phone number

Details:
  • Layer: 223

  • ID: 1013FD9E

Parameters:

phones (List of str) – Phone numbers

Returns:

bool

TL Schema

contacts.deleteByPhones#1013fd9e
phones:Vector<string>

= Bool

Parameter Tree

DeleteByPhones
└── phonesVector < string >

Example

await app.invoke(
    DeleteByPhones(
        phones=["text"],
    )
)