UploadProfilePhoto

class pyrogram.raw.functions.photos.UploadProfilePhoto

Updates current user profile photo.

Details
  • Layer: 126

  • ID: 0x89f30f69

Parameters
  • file (InputFile, optional) – File saved in parts by means of upload.saveFilePart method.

  • video (InputFile, optional) – Animated profile picture video.

  • video_start_ts (float 64-bit, optional) – Floating point UNIX timestamp in seconds, indicating the frame of the video that should be used as static preview.

Returns

photos.Photo – Photo with auxiliary data.