Skip to main content

pageBlockPhoto

A photo

type tg.PageBlockPhoto struct { /* ... */ }

Implements PageBlock.

Fields​

NameTypeRequiredDescription
Spoilerbool—Spoiler field of PageBlockPhoto.
PhotoIDint64yesPhoto ID
CaptionPageCaptionyesCaption
URLstring—HTTP URL of page the photo leads to when clicked
WebpageIDint64—ID of preview of the page the photo leads to when clicked

References​