MadelineProto/docs/MTProto_docs/constructors/msg_copy.md

36 lines
531 B
Markdown
Raw Normal View History

---
title: msg_copy
description: msg_copy attributes, type and example
---
## Constructor: msg\_copy
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|orig\_message|[MTMessage](../types/MTMessage.md) | Yes|
### Type: [MessageCopy](../types/MessageCopy.md)
### Example:
```
2016-12-30 21:21:36 +01:00
$msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage, ];
```
Or, if you're into Lua:
```
msg_copy={_='msg_copy', orig_message=MTMessage, }
```