MadelineProtoDocs/docs/MTProto_docs/constructors/msg_container.md
2018-04-01 13:24:46 +02:00

710 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, MTmessage]];

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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