Module tdlight.api

Class TdApi.GetSavedNotificationSound

Enclosing class:
TdApi

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

    • notificationSoundId

      public long notificationSoundId
      Identifier of the notification sound.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetSavedNotificationSound

      public GetSavedNotificationSound()
      Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier. Returns NotificationSounds
    • GetSavedNotificationSound

      public GetSavedNotificationSound(long notificationSoundId)
      Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier. Returns NotificationSounds
      Parameters:
      notificationSoundId - long Identifier of the notification sound.
    • GetSavedNotificationSound

      public GetSavedNotificationSound(DataInput input) throws IOException
      Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier. Returns NotificationSounds
      Throws:
      IOException
  • Method Details