Class TdApi.GetSavedNotificationSound

Enclosing class:
TdApi

public static class TdApi.GetSavedNotificationSound extends TdApi.Function<TdApi.NotificationSound>
Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.

Returns NotificationSound

  • Field Details

    • notificationSoundId

      public long notificationSoundId
      Identifier of the notification sound.
    • CONSTRUCTOR

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

    • GetSavedNotificationSound

      public GetSavedNotificationSound()
      Default constructor for a function, which returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.

      Returns NotificationSound

    • GetSavedNotificationSound

      public GetSavedNotificationSound(long notificationSoundId)
      Creates a function, which returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.

      Returns NotificationSound

      Parameters:
      notificationSoundId - Identifier of the notification sound.
  • Method Details