1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 22:47:22 +01:00
MadelineProto/docs/MTProto_docs/constructors/destroy_session_ok.md
2017-07-23 16:33:46 +02:00

704 B

title description
destroy_session_ok destroy_session_ok attributes, type and example

Constructor: destroy_session_ok

Back to constructors index

Attributes:

Name Type Required
session_id long Yes

Type: DestroySessionRes

Example:

$destroy_session_ok = ['_' => 'destroy_session_ok', 'session_id' => long];

PWRTelegram json-encoded version:

{"_": "destroy_session_ok", "session_id": long}

Or, if you're into Lua:

destroy_session_ok={_='destroy_session_ok', session_id=long}