Added GraphQL requests
This commit is contained in:
@@ -5,8 +5,8 @@ from fbchat.models import *
|
||||
|
||||
client = Client('<email>', '<password>')
|
||||
|
||||
print('Own id: {}'.format(client.id))
|
||||
print('Own id: {}'.format(client.uid))
|
||||
|
||||
client.sendMessage('Hi me!', thread_id=self.id, thread_type=ThreadType.USER)
|
||||
client.sendMessage('Hi me!', thread_id=client.uid, thread_type=ThreadType.USER)
|
||||
|
||||
client.logout()
|
||||
|
Reference in New Issue
Block a user