Max Add Photo#

Max adds a photo to an existing or new message body assembly object.

Connector[Link] Connection object.
Message Body

[Link] Message body assembly object.

If not specified, a new message body assembly object will be created; if specified, the one provided will be used.

This object can be used multiple times. For example, you can add photos, videos, buttons to it using the corresponding blocks. Afterwards, you can use this object in message sending blocks.

Photo URL[Text] Direct link to the photo.
Photo Token[Text] Token of the uploaded photo.
Photo ID[Text] Photo ID.
Result[Link] Message body assembly object.
Error Handling Level

Select the error handling level.

Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation.

Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Message[Text] Returns detailed information about the error in case of incorrect execution of the block's work.