1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:26:54 +01:00
MadelineProto/docs/TD_docs/constructors/messageForwardedFromUser.md

46 lines
994 B
Markdown
Raw Normal View History

---
title: messageForwardedFromUser
description: Message is originally written by known user
---
## Constructor: messageForwardedFromUser
[Back to constructors index](index.md)
Message is originally written by known user
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|sender\_user\_id|[int](../types/int.md) | Yes|Identifier of a user, who originally sent this message|
|date|[int](../types/int.md) | Yes|Date when message was originally sent|
### Type: [MessageForwardInfo](../types/MessageForwardInfo.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$messageForwardedFromUser = ['_' => 'messageForwardedFromUser', 'sender_user_id' => int, 'date' => int];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "messageForwardedFromUser", "sender_user_id": int, "date": int}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
messageForwardedFromUser={_='messageForwardedFromUser', sender_user_id=int, date=int}
```