1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 10:19:38 +01:00
MadelineProto/docs/API_docs/constructors/messageFwdHeader.md

39 lines
799 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: messageFwdHeader
2016-12-20 13:32:11 +01:00
description: messageFwdHeader attributes, type and example
2016-12-20 13:15:22 +01:00
---
## Constructor: messageFwdHeader
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|from\_id|[int](../types/int.md) | Optional|
|date|[int](../types/int.md) | Yes|
|channel\_id|[int](../types/int.md) | Optional|
|channel\_post|[int](../types/int.md) | Optional|
2016-12-19 18:56:05 +01:00
### Type: [MessageFwdHeader](../types/MessageFwdHeader.md)
### Example:
```
2016-12-30 21:21:36 +01:00
$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, ];
```
Or, if you're into Lua:
```
messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, }
```