MadelineProtoDocs/docs/MTProto_docs/constructors/bad_server_salt.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
bad_server_salt Bad server salt https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: bad_server_salt

Back to constructors index

Bad server salt

Attributes:

Name Type Required Description
bad_msg_id long Yes Bad msg ID
bad_msg_seqno int Yes Bad msg seqno
error_code int Yes Error code
new_server_salt long Yes New server salt

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}