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

46 lines
997 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:
```
$messageForwardedFromUser = ['_' => 'messageForwardedFromUser', 'sender_user_id' => int, 'date' => int, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"messageForwardedFromUser","sender_user_id":"int","date":"int"}
```
Or, if you're into Lua:
```
messageForwardedFromUser={_='messageForwardedFromUser', sender_user_id=int, date=int, }
```