public static class TdApi.NotificationSound extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
data
Arbitrary data, defined while the sound was uploaded.
|
int |
date
Point in time (Unix timestamp) when the sound was created.
|
int |
duration
Duration of the sound, in seconds.
|
long |
id
Unique identifier of the notification sound.
|
TdApi.File |
sound
File containing the sound.
|
java.lang.String |
title
Title of the notification sound.
|
| Constructor and Description |
|---|
NotificationSound()
Describes a notification sound in MP3 format.
|
NotificationSound(long id,
int duration,
int date,
java.lang.String title,
java.lang.String data,
TdApi.File sound)
Describes a notification sound in MP3 format.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long id
public int duration
public int date
public java.lang.String title
public java.lang.String data
public TdApi.File sound
public static final int CONSTRUCTOR
public NotificationSound()
public NotificationSound(long id,
int duration,
int date,
java.lang.String title,
java.lang.String data,
TdApi.File sound)
id - Unique identifier of the notification sound.duration - Duration of the sound, in seconds.date - Point in time (Unix timestamp) when the sound was created.title - Title of the notification sound.data - Arbitrary data, defined while the sound was uploaded.sound - File containing the sound.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object