Skip to content

get background url

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally