Updates the caption of a photo.

This method requires the following permissions: photos.

Parameters

photo_id
string

Identifier of the photo to be updated.

caption
string

The new caption.

text_format
enum

The format of the text in caption.

Possible values: markdown, html, plain.

Result

Returns true on success.

Errors

Global errors may occur when calling this method.