Module tdlight.api

Class TdApi.AddSavedNotificationSound

Enclosing class:
TdApi

public static final class TdApi.AddSavedNotificationSound extends TdApi.Function<TdApi.NotificationSound>
Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. Returns NotificationSound
  • Field Details

  • Constructor Details

    • AddSavedNotificationSound

      public AddSavedNotificationSound()
      Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. Returns NotificationSound
    • AddSavedNotificationSound

      public AddSavedNotificationSound(TdApi.InputFile sound)
      Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. Returns NotificationSound
      Parameters:
      sound - InputFile Notification sound file to add.
    • AddSavedNotificationSound

      public AddSavedNotificationSound(DataInput input) throws IOException
      Adds a new notification sound to the list of saved notification sounds. The new notification sound is added to the top of the list. If it is already in the list, its position isn't changed. Returns NotificationSound
      Throws:
      IOException
  • Method Details