Layer 220
PageBlockPhoto
A photo
constructor
pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlock;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| PhotoId | long | Photo ID |
| Caption | PageCaption | Caption |
| Url | flags.0?string | HTTP URL of page the photo leads to when clicked |
| WebpageId | flags.0?long | ID of preview of the page the photo leads to when clicked |
Returns
PageBlockGogram Example
// Creating PageBlockPhoto constructor obj := &tg.PageBlockPhoto{ PhotoId: int64(0), Caption: &tg.PageCaption{}, // Optional fields: // Url: "...", // WebpageId: int64(0), }