account.UploadRingtone#

class pyrogram.raw.functions.account.UploadRingtone#

Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.

Details:
  • Layer: 158

  • ID: 831A83A2

Parameters:
  • file (InputFile) – Notification sound.

  • file_name (str) – File name.

  • mime_type (str) – MIME type of file.

Returns:

Document