upload_ringtone()

async Client.upload_ringtone()

Upload a notification sound.

Usable by Users Bots
Parameters:
  • file (InputFile) – Notification sound file.

  • file_name (str) – File name.

  • mime_type (str) – MIME type of file.

Returns:

Document – On success, the uploaded document is returned.