From 808346f15be279a3d06dbfd0a7736cf98025a0a9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 21 Mar 2021 22:13:41 +0100 Subject: [PATCH] Fix wrong example due to a method rename --- pyrogram/methods/contacts/import_contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/contacts/import_contacts.py b/pyrogram/methods/contacts/import_contacts.py index 92410fc1..4039cbe5 100644 --- a/pyrogram/methods/contacts/import_contacts.py +++ b/pyrogram/methods/contacts/import_contacts.py @@ -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")])