Fix wrong example due to a method rename
This commit is contained in:
parent
eed331b1b1
commit
808346f15b
@ -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 New Issue
Block a user