java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.NotificationSounds>
it.tdlight.jni.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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intlongIdentifier of the notification sound. -
Constructor Summary
ConstructorsConstructorDescriptionReturns saved notification sound by its identifier.GetSavedNotificationSound(long notificationSoundId) Returns saved notification sound by its identifier.Returns saved notification sound by its identifier. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
notificationSoundId
public long notificationSoundIdIdentifier 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. ReturnsNotificationSounds -
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. ReturnsNotificationSounds- Parameters:
notificationSoundId- long Identifier of the notification sound.
-
GetSavedNotificationSound
Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier. ReturnsNotificationSounds- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-