ConnectApi.BannerPhotoInput

A banner photo.

PropertyTypeDescriptionRequired or OptionalAvailable Version
cropHeightIntegerHeight of the crop rectangle in pixels.Optional36.0
cropWidthIntegerWidth of the crop rectangle in pixels.Optional36.0
cropXIntegerX position of the crop rectangle from the left edge of the image in pixels. Top left is position (0,0).Optional36.0
cropYIntegerY position of the crop rectangle from the top edge of the image in pixels. Top left is position (0,0).Optional36.0
fileIdString18 character ID of an existing file. The key prefix must be 069 and the file must be an image and be smaller than 2 GB. Images uploaded on the Group page and on the User page don’t have file IDs and therefore can’t be used.Required36.0
versionNumberIntegerVersion number of an existing file. If not provided, the latest version is used.Optional36.0