MadelineProto/old_docs/API_docs_v44/constructors/webPageExternal.md

36 lines
1.0 KiB
Markdown

---
title: webPageExternal
description: webPageExternal attributes, type and example
---
## Constructor: webPageExternal
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|url|[string](../types/string.md) | Required|
|display\_url|[string](../types/string.md) | Required|
|type|[string](../types/string.md) | Optional|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|thumb\_url|[string](../types/string.md) | Optional|
|content\_url|[string](../types/string.md) | Optional|
|w|[int](../types/int.md) | Optional|
|h|[int](../types/int.md) | Optional|
|duration|[int](../types/int.md) | Optional|
### Type: [WebPage](../types/WebPage.md)
### Example:
```
$webPageExternal = ['_' => 'webPageExternal', 'url' => string, 'display_url' => string, 'type' => string, 'title' => string, 'description' => string, 'thumb_url' => string, 'content_url' => string, 'w' => int, 'h' => int, 'duration' => int, ];
```