Class TdApi.GetSavedNotificationSound
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.NotificationSounds>
dev.voroby.springframework.telegram.client.TdApi.GetSavedNotificationSound
- Enclosing class:
- TdApi
public static 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
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the notification sound. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which returns saved notification sound by its identifier.GetSavedNotificationSound
(long notificationSoundId) Creates a function, which returns saved notification sound by its identifier. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
notificationSoundId
public long notificationSoundIdIdentifier of the notification sound. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
NotificationSounds
-
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
NotificationSounds
- Parameters:
notificationSoundId
- Identifier of the notification sound.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-