Skip to content

PageBlockPhoto

Type · TDLib 1.8.67 · d1085f9c

A photo

PageBlockPhoto(
  photo: Photo,
  caption: PageBlockCaption,
  url: string,
  has_spoiler: Bool
) → PageBlock

photo

Photo

Photo file; may be null

caption

PageBlockCaption

Photo caption; may be null if none

url

string

URL that needs to be opened when the photo is clicked; instant view only

has_spoiler

Bool

True, if the photo preview must be covered by a spoiler animation