MadelineProtoDocs/docs/MTProto_docs/constructors/msg_copy.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

717 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];

PWRTelegram json-encoded version:

{"_": "msg_copy", "orig_message": MTMessage}

Or, if you're into Lua:

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