Class TdApi.AddSavedNotificationSound
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.NotificationSound>
dev.voroby.springframework.telegram.client.TdApi.AddSavedNotificationSound
- Enclosing class:
- TdApi
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 Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Notification sound file to add. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which adds a new notification sound to the list of saved notification sounds.Creates a function, which adds a new notification sound to the list of saved notification sounds. -
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
-
sound
Notification sound file to add. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-