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

1.0 KiB

title description image
updateWebPage An [instant view](https://instantview.telegram.org) webpage preview was generated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateWebPage

Back to constructors index

An instant view webpage preview was generated

Attributes:

Name Type Required Description
webpage WebPage Optional Webpage preview
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update

Example:

$updateWebPage = ['_' => 'updateWebPage', 'webpage' => WebPage, 'pts' => int, 'pts_count' => int];

Or, if you're into Lua:

updateWebPage={_='updateWebPage', webpage=WebPage, pts=int, pts_count=int}