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.