Layer 220
NotificationSound
Abstract type representing one of 4 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.NotificationSound interface.
Use any of the following constructors:
NotificationSoundDefault
Indicates the default notification sound should be used
NotificationSoundNone
No notification sound should be used
NotificationSoundRingtone
A specific previously uploaded notification sound should be used
NotificationSoundLocal
Indicates a specific local notification sound should be used
Gogram Example
// NotificationSound is an interface type // You can use any of the following constructors: var _ tg.NotificationSound = &tg.NotificationSoundDefault{} var _ tg.NotificationSound = &tg.NotificationSoundNone{} var _ tg.NotificationSound = &tg.NotificationSoundRingtone{} var _ tg.NotificationSound = &tg.NotificationSoundLocal{}