MadelineProtoDocs/docs/API_docs/constructors/pageBlockRelatedArticles.md
2020-06-16 17:50:25 +02:00

883 B

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

Constructor: pageBlockRelatedArticles

Back to constructors index

Related articles

Attributes:

Name Type Required Description
title RichText Yes Title
articles Array of PageRelatedArticle Yes Related articles

Type: PageBlock

Example:

$pageBlockRelatedArticles = ['_' => 'pageBlockRelatedArticles', 'title' => RichText, 'articles' => [PageRelatedArticle, PageRelatedArticle]];

Or, if you're into Lua:

pageBlockRelatedArticles={_='pageBlockRelatedArticles', title=RichText, articles={PageRelatedArticle}}