MadelineProtoDocs/docs/API_docs/constructors/pageBlockRelatedArticles.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

46 lines
1.0 KiB
Markdown

---
title: pageBlockRelatedArticles
description: Page block related articles
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageBlockRelatedArticles
[Back to constructors index](index.md)
Page block related articles
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|title|[RichText](../types/RichText.md) | Yes|Title|
|articles|Array of [PageRelatedArticle](../types/PageRelatedArticle.md) | Yes|Articles|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```php
$pageBlockRelatedArticles = ['_' => 'pageBlockRelatedArticles', 'title' => RichText, 'articles' => [PageRelatedArticle, PageRelatedArticle]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "pageBlockRelatedArticles", "title": RichText, "articles": [PageRelatedArticle]}
```
Or, if you're into Lua:
```lua
pageBlockRelatedArticles={_='pageBlockRelatedArticles', title=RichText, articles={PageRelatedArticle}}
```