1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 07:06:55 +01:00
MadelineProto/docs/MTProto_docs/constructors/msg_container.md
2017-07-23 16:11:02 +02:00

702 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}, }