libtd-ktx / kotlinx.telegram.coroutines / setAutoDownloadSettings
setAutoDownloadSettings
suspend fun TelegramFlow.setAutoDownloadSettings(settings: AutoDownloadSettings?, type: NetworkType?): Unit
Suspend function, which sets auto-download settings.
Parameters
settings - New user auto-download settings.
type - Type of the network for which the new settings are applied.