Skip to content

InputProfilePhotoAnimated

An animated profile photo in the MPEG4 format.

Properties

  • animation (Path or str): The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass “attach://” if the photo was uploaded using multipart/form-data under . More information on Sending Files »
  • main_frame_timestamp (float): Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.