miniproto.mtproto.codec.DecodedEncryptedMessage
miniproto.mtproto.codec.DecodedEncryptedMessage
Section titled “miniproto.mtproto.codec.DecodedEncryptedMessage”DecodedEncryptedMessage(auth_key_id: bytes, server_salt: int, session_id: int, msg_id: int, seq_no: int, body: ByteBuffer, padding: ByteBuffer) -> NoneAuthenticated encrypted MTProto envelope with decrypted body and padding.
Attributes:
- auth_key_id (
bytes) – Eight-byte authorization-key identifier from the envelope. - server_salt (
int) – Decrypted 64-bit server salt. - session_id (
int) – Decrypted 64-bit session ID. - msg_id (
int) – MTProto message ID. - seq_no (
int) – MTProto sequence number. - body (
ByteBuffer) – Decrypted message body view. - padding (
ByteBuffer) – Decrypted trailing padding view.