pageBlockPhoto
A photo
type tg.PageBlockPhoto struct { /* ... */ }
Implements PageBlock.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Spoiler | bool | — | Spoiler field of PageBlockPhoto. |
PhotoID | int64 | yes | Photo ID |
Caption | PageCaption | yes | Caption |
URL | string | — | HTTP URL of page the photo leads to when clicked |
WebpageID | int64 | — | ID of preview of the page the photo leads to when clicked |
References
- Official documentation
- Generated Go reference
- TL definition:
pageBlockPhoto#1759c560