Expand description
Encrypted MTProto 2.0 session (post auth-key).
Once you have a Finished from crate::authentication, construct an
EncryptedSession and use it to serialize/deserialize all subsequent
messages.
Structs§
- Decrypted
Message - The inner payload extracted from a successfully decrypted server frame.
- Encrypted
Session - MTProto 2.0 encrypted session state.
Enums§
- Decrypt
Error - Errors that can occur when decrypting a server message.
Functions§
- new_
seen_ msg_ ids - Allocate a fresh seen-msg_id ring.
Type Aliases§
- Seen
MsgIds - Shared, persistent dedup ring for server msg_ids.