MadelineProtoDocs/docs/MTProto_docs/constructors/msg_copy.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

742 B

title description image
msg_copy Msg copy https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: msg_copy

Back to constructors index

Msg copy

Attributes:

Name Type Required Description
orig_message MTMessage Yes Orig message

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}