We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c13982b + 2e1bfc3 commit 61924fbCopy full SHA for 61924fb
main.py
@@ -2183,7 +2183,7 @@ async def delete_profile_photo() -> str:
2183
)
2184
if not photos.photos:
2185
return "No profile photo to delete."
2186
- await client(functions.photos.DeletePhotosRequest(id=[photos.photos[0].id]))
+ await client(functions.photos.DeletePhotosRequest(id=[photos.photos[0]]))
2187
return "Profile photo deleted."
2188
except Exception as e:
2189
return log_and_format_error("delete_profile_photo", e)
0 commit comments