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

712 B

title description image
pageCaption Page caption https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pageCaption

Back to constructors index

Page caption

Attributes:

Name Type Required Description
text RichText Yes Caption
credit RichText Yes Credits

Type: PageCaption

Example:

$pageCaption = ['_' => 'pageCaption', 'text' => RichText, 'credit' => RichText];

Or, if you're into Lua:

pageCaption={_='pageCaption', text=RichText, credit=RichText}