MadelineProtoDocs/old_docs/API_docs_v103/constructors/pageBlockRelatedArticles.md
2019-08-15 20:25:16 +02:00

897 B

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

Constructor: pageBlockRelatedArticles

Back to constructors index

Page block related articles

Attributes:

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

Type: PageBlock

Example:

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

Or, if you're into Lua:

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