From 73e6ed79592941bbee0f4db1f1185fb63051aef5 Mon Sep 17 00:00:00 2001 From: thekindlyone Date: Tue, 30 Aug 2016 08:44:25 +0530 Subject: [PATCH] readme for send image --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index bd6da0d..bf978c9 100644 --- a/README.rst +++ b/README.rst @@ -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='',image='') # send local image + imgurl = "http://i.imgur.com/LDQ2ITV.jpg" + client.sendRemoteImage(friend.uid,message='', image=imgurl) # send image from image url Getting user info from user id @@ -86,7 +90,7 @@ Example Echobot if str(author_id) != str(self.uid): self.send(author_id,message) - bot=EchoBot("", "") + bot = EchoBot("", "") bot.listen()