MadelineProto/docs/MTProto_docs/constructors/bad_server_salt.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}