Reputation: 71
There is an image in the telegram docs showing a Formatted message with an image and text under, It's from TechCrunch. I have tried to replicate this and failed. How can one replicate this format. I am using Python
def reply(msg=None, img=None):
if msg:
resp = urllib2.urlopen(BASE_URL + 'sendPhoto', urllib.urlencode({
'chat_id': str(chat_id),
'caption': msg,
})).read()
Upvotes: 0
Views: 2487
Reputation: 1438
In case you are talking about this image here i'm pretty sure it was done with sendPhoto()
method. Text can be placed under the image by using the optional caption
parameter.
Upvotes: 1