MadelineProtoDocs/old_docs/API_docs_v38/constructors/pageCaption.md
2020-06-16 17:50:25 +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}