Skip to contents

Update your profile photo

Usage

update_profile_photo(client, file, progress_callback = NULL)

Arguments

client

TelegramClient instance.

file

Path to image file.

progress_callback

Optional callback (pos, total).

Value

The API response.