MadelineProtoDocs/old_docs/API_docs_v43/constructors/pageCaption.md
2020-09-12 12:47:38 +02: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}