getBackgroundUrl - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / getBackgroundUrl

getBackgroundUrl

suspend fun TelegramFlow.getBackgroundUrl(name: String?, type: BackgroundType?): HttpUrl

Suspend function, which constructs a persistent HTTP URL for a background.

Parameters

name - Background name.

type - Background type.

Return HttpUrl Contains an HTTP URL.