MadelineProtoDocs/docs/MTProto_docs/constructors/msg_copy.md
2020-06-16 17:50:25 +02:00

604 B

title description image
msg_copy msg_copy attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: msg_copy

Back to constructors index

Attributes:

Name Type Required
orig_message MTMessage Yes

Type: MessageCopy

Example:

$msg_copy = ['_' => 'msg_copy', 'orig_message' => MTMessage];

Or, if you're into Lua:

msg_copy={_='msg_copy', orig_message=MTMessage}