Update fetch.py

Solved the exception:

TypeError: __init__() takes 1 positional argument but 2 were given
This commit is contained in:
smilexs4
2020-05-08 17:08:01 +03:00
committed by GitHub
parent 078bf9fc16
commit 09627b71ae

View File

@@ -2,7 +2,7 @@ import fbchat
session = fbchat.Session.login("<email>", "<password>")
client = fbchat.Client(session)
client = fbchat.Client(session=session)
# Fetches a list of all users you're currently chatting with, as `User` objects
users = client.fetch_all_users()