MadelineProtoDocs/old_docs/API_docs_v105/constructors/pageRelatedArticle.md
2019-12-27 17:48:04 +01:00

1.3 KiB

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

Constructor: pageRelatedArticle

Back to constructors index

Related article

Attributes:

Name Type Required Description
url string Yes URL of article
webpage_id long Yes Webpage ID of generated IV preview
title string Optional Title
description string Optional Description
photo_id long Optional ID of preview photo
author string Optional Author name
published_date int Optional Date of pubblication

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}