MadelineProto/old_docs/API_docs_v70/constructors/messageMediaWebPage.md

702 B

title description
messageMediaWebPage messageMediaWebPage attributes, type and example

Constructor: messageMediaWebPage

Back to constructors index

Attributes:

Name Type Required
webpage WebPage Yes

Type: MessageMedia

Example:

$messageMediaWebPage = ['_' => 'messageMediaWebPage', 'webpage' => WebPage];

PWRTelegram json-encoded version:

{"_": "messageMediaWebPage", "webpage": WebPage}

Or, if you're into Lua:

messageMediaWebPage={_='messageMediaWebPage', webpage=WebPage}