Class TdApi.AddSavedNotificationSound

Enclosing class:
TdApi

public static 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

    • sound

      public TdApi.InputFile sound
      Notification sound file to add.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AddSavedNotificationSound

      public AddSavedNotificationSound()
      Default constructor for a function, which 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)
      Creates a function, which 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 - Notification sound file to add.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR