mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix wrong example due to a method rename
This commit is contained in:
parent
eed331b1b1
commit
808346f15b
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ class ImportContacts(Scaffold):
|
|||
|
||||
from pyrogram.types import InputPhoneContact
|
||||
|
||||
app.add_contacts([
|
||||
app.import_contacts([
|
||||
InputPhoneContact("39123456789", "Foo"),
|
||||
InputPhoneContact("38987654321", "Bar"),
|
||||
InputPhoneContact("01234567891", "Baz")])
|
||||
|
|
|
|||
Loading…
Reference in a new issue