MadelineProtoDocs/docs/API_docs/constructors/pageRelatedArticle.md

1.2 KiB

title description image
pageRelatedArticle Page related article https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageRelatedArticle

Back to constructors index

Page related article

Attributes:

Name Type Required Description
url string Yes URL
webpage_id long Yes Webpage ID
title string Optional Title
description string Optional Description
photo_id long Optional Photo ID
author string Optional Author
published_date int Optional Published date

Type: PageRelatedArticle

Example:

$pageRelatedArticle = ['_' => 'pageRelatedArticle', 'url' => 'string', 'webpage_id' => long, 'title' => 'string', 'description' => 'string', 'photo_id' => long, 'author' => 'string', 'published_date' => int];

Or, if you're into Lua:

pageRelatedArticle={_='pageRelatedArticle', url='string', webpage_id=long, title='string', description='string', photo_id=long, author='string', published_date=int}