Table of Contents

Get photo from driver message

To get a photo from a driver message, use the command messages/get_message_file:

svc=messages/get_message_file&params={"itemId":<uint>,
				      "fileId":<text>}

Parameters

Name Description
itemId unit ID or resource ID*
fileId image file ID

*To get an image from unit messages, you need to submit the unit ID as itemId. To get an image from a resource, you must submit the resource ID as itemId.

:!: fileID param you can get from message JSON

Response

Returns an image.