avl_msg_photo
To get a photo from a message, use the following request:
http://<host>/avl_msg_photo?sid=<sid>&layerName="<text>"&msgIndex=<uint>&time=<uint>&unitIndex=<uint>&saveMode=<uint>
Parameters
The required parameters are marked with an asterisk (*).
Name | Description |
---|---|
sid* | Session ID. |
layerName* | Layer name. |
msgIndex* | Message index. |
time* | Time. |
unitIndex* | Unit index. |
saveMode | Used for saving an image to a file on the user's device, 1 - active. |
Response
Returns a photo.