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

918 B

title description
new_session_created new_session_created attributes, type and example

Constructor: new_session_created

Back to constructors index

Attributes:

Name Type Required
first_msg_id long Yes
unique_id long Yes
server_salt long Yes

Type: NewSession

Example:

$new_session_created = ['_' => 'new_session_created', 'first_msg_id' => long, 'unique_id' => long, 'server_salt' => long, ];

PWRTelegram json-encoded version:

{"_":"new_session_created","first_msg_id":"long","unique_id":"long","server_salt":"long"}

Or, if you're into Lua:

new_session_created={_='new_session_created', first_msg_id=long, unique_id=long, server_salt=long, }