Skip to content

delete profile photo

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

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.

Clone this wiki locally