MadelineProto/docs/MTProto_docs/constructors/msg_copy.md
2017-07-23 16:33:46 +02:00

644 B

title description
msg_copy msg_copy attributes, type and example

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}