mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 12:06:55 +01:00
43 lines
653 B
Markdown
43 lines
653 B
Markdown
|
---
|
||
|
title: pageBlockAnchor
|
||
|
description: pageBlockAnchor attributes, type and example
|
||
|
---
|
||
|
## Constructor: pageBlockAnchor
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|name|[string](../types/string.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PageBlock](../types/PageBlock.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$pageBlockAnchor = ['_' => 'pageBlockAnchor', 'name' => 'string'];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "pageBlockAnchor", "name": "string"}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
pageBlockAnchor={_='pageBlockAnchor', name='string'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|