send image fixed

This commit is contained in:
thekindlyone
2016-08-30 08:34:54 +05:30
parent f71b3db178
commit b0c64fad5e

View File

@@ -265,7 +265,7 @@ class Client(object):
if image_id:
data['message_batch[0][image_ids][0]'] = image_id
data['image_ids[0]'] = image_id
if like:
try:
@@ -273,7 +273,7 @@ class Client(object):
except KeyError:
# if user doesn't enter l or m or s, then use the large one
sticker = LIKES['l']
data["message_batch[0][sticker_id]"] = sticker
data["sticker_id"] = sticker
r = self._post(SendURL, data)