1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:37:49 +01:00
MadelineProto/docs/API_docs/constructors/bad_server_salt.md
2017-07-23 16:33:46 +02:00

1019 B

title description
bad_server_salt bad_server_salt attributes, type and example

Constructor: bad_server_salt

Back to constructors index

Attributes:

Name Type Required
bad_msg_id long Yes
bad_msg_seqno int Yes
error_code int Yes
new_server_salt long Yes

Type: BadMsgNotification

Example:

$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long];

PWRTelegram json-encoded version:

{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long}

Or, if you're into Lua:

bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long}