miniproto.mtproto.state.MTProtoState.correct_time_offset_from_msg_id
miniproto.mtproto.state.MTProtoState.correct_time_offset_from_msg_id
Section titled “miniproto.mtproto.state.MTProtoState.correct_time_offset_from_msg_id”correct_time_offset_from_msg_id(msg_id: int) -> NoneRefresh the server-time offset and restart client message-ID monotonicity.
Parameters:
- msg_id (
int) – Server message ID supplying the authoritative timestamp.