MadelineProtoDocs/docs/MTProto_docs/constructors/new_session_created.md

884 B

title description image
new_session_created New session created https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: new_session_created

Back to constructors index

New session created

Attributes:

Name Type Required Description
first_msg_id long Yes First msg ID
unique_id long Yes Unique ID
server_salt long Yes Server salt

Type: NewSession

Example:

$new_session_created = ['_' => '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}