readme for send image
This commit is contained in:
@@ -38,6 +38,10 @@ Sending a Message
|
||||
sent = client.send(friend.uid, "Your Message")
|
||||
if sent:
|
||||
print("Message sent successfully!")
|
||||
# IMAGES
|
||||
client.sendLocalImage(friend.uid,message='<message text>',image='<path/to/image/file>') # send local image
|
||||
imgurl = "http://i.imgur.com/LDQ2ITV.jpg"
|
||||
client.sendRemoteImage(friend.uid,message='<message text>', image=imgurl) # send image from image url
|
||||
|
||||
|
||||
Getting user info from user id
|
||||
|
Reference in New Issue
Block a user