mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-16 00:16:54 +01:00
24 lines
702 B
Markdown
24 lines
702 B
Markdown
---
|
|
title: getWebPageInstantView
|
|
description: Returns web page instant view if available. Returns error 404 if web page has no instant view
|
|
---
|
|
## Method: getWebPageInstantView
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Returns web page instant view if available. Returns error 404 if web page has no instant view
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|url|[string](../types/string.md) | Yes|Web page URL|
|
|
|force\_full|[Bool](../types/Bool.md) | Yes|If true, full web page instant view will be returned|
|
|
|
|
|
|
### Return type: [WebPageInstantView](../types/WebPageInstantView.md)
|
|
|