mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
pageRelatedArticle | Related article | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageRelatedArticle
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 publication |
Type: PageRelatedArticle
Example:
$pageRelatedArticle = ['_' => 'pageRelatedArticle', 'url' => 'string', 'webpage_id' => long, 'title' => 'string', 'description' => 'string', 'photo_id' => long, 'author' => 'string', 'published_date' => int];