Skip to content

NotificationSound

Type · TDLib 1.8.67 · d1085f9c

Describes a notification sound in MP3 format

NotificationSound(
  id: int64,
  duration: int32,
  date: int32,
  title: string,
  data: string,
  sound: File
) → NotificationSound

id

int64

Unique identifier of the notification sound

duration

int32

Duration of the sound, in seconds

date

int32

Point in time (Unix timestamp) when the sound was created

title

string

Title of the notification sound

data

string

Arbitrary data, defined while the sound was uploaded

sound

File

File containing the sound