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

699 B

title description
msg_container msg_container attributes, type and example

Constructor: msg_container

Back to constructors index

Attributes:

Name Type Required
messages Array of MTmessage Yes

Type: MessageContainer

Example:

$msg_container = ['_' => 'msg_container', 'messages' => [MTmessage]];

PWRTelegram json-encoded version:

{"_": "msg_container", "messages": [MTmessage]}

Or, if you're into Lua:

msg_container={_='msg_container', messages={MTmessage}}