Layer 220
constructor
pageRelatedArticle#b390dc08 flags:# url:string webpage_id:long title:flags.0?string description:flags.1?string photo_id:flags.2?long author:flags.3?string published_date:flags.4?int = PageRelatedArticle;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Url string URL of article
WebpageId long Webpage ID of generated IV preview
Title flags.0?string Title
Description flags.1?string Description
PhotoId flags.2?long ID of preview photo
Author flags.3?string Author name
PublishedDate flags.4?int Date of publication

Gogram Example

// Creating PageRelatedArticle constructor
obj := &tg.PageRelatedArticle{
    Url: "...",
    WebpageId: int64(0),

    // Optional fields:
    // Title: "...",
    // Description: "...",
    // PhotoId: int64(0),
    // Author: "...",
    // ... more optional fields
}