def post_image_attachment(fbid, img_url):
""" Sends an image attachment
(/docs/messenger-platform/send-api-reference/image-attachment)
:param str fbid: User id to send the image.
:param str img_url: Url of a hosted image (jpg, png, gif).
:return: `Response object <http://docs.python-requests.org/en/\
master/api/#requests.Response>`_
"""
return post_attachment(fbid, img_url, 'image')
评论列表
文章目录