getBackgrounds - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / getBackgrounds

getBackgrounds

suspend fun TelegramFlow.getBackgrounds(forDarkTheme: Boolean): Backgrounds

Suspend function, which returns backgrounds installed by the user.

Parameters

forDarkTheme - True, if the backgrounds needs to be ordered for dark theme.

Return Backgrounds Contains a list of backgrounds.