Skip to content

miniproto.auth.service.AuthService.persist_dc_options

miniproto.auth.service.AuthService.persist_dc_options

Section titled “miniproto.auth.service.AuthService.persist_dc_options”
persist_dc_options(raw_config: object) -> tuple[DCOption, ...]

Normalize help.Config DC options and atomically store them in the session.

Parameters:

  • raw_config (object) – Telegram configuration result exposing dc_options and optional this_dc.

Returns:

  • tuple[DCOption, …] – The normalized, persisted data-center options.