deleteProfilePhoto - libtd-ktx

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


libtd-ktx / kotlinx.telegram.coroutines / deleteProfilePhoto

deleteProfilePhoto

suspend fun TelegramFlow.deleteProfilePhoto(profilePhotoId: Long): Unit

Suspend function, which deletes a profile photo. If something changes, updateUser will be sent.

Parameters

profilePhotoId - Identifier of the profile photo to delete.