PeerNotifySettings class

Peer Notify Settings.

ID: 99622c0c.

Inheritance

Constructors

PeerNotifySettings({required bool showPreviews, required bool silent, DateTime? muteUntil, NotificationSoundBase? iosSound, NotificationSoundBase? androidSound, NotificationSoundBase? otherSound, required bool storiesMuted, required bool storiesHideSender, NotificationSoundBase? storiesIosSound, NotificationSoundBase? storiesAndroidSound, NotificationSoundBase? storiesOtherSound})
Peer Notify Settings constructor.
const
PeerNotifySettings.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

androidSound NotificationSoundBase?
Android Sound.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
iosSound NotificationSoundBase?
Ios Sound.
final
muteUntil DateTime?
Mute Until.
final
otherSound NotificationSoundBase?
Other Sound.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showPreviews bool
show_previews: bit 0 of flags.0?Bool
final
silent bool
silent: bit 1 of flags.1?Bool
final
storiesAndroidSound NotificationSoundBase?
Stories Android Sound.
final
storiesHideSender bool
stories_hide_sender: bit 7 of flags.7?Bool
final
storiesIosSound NotificationSoundBase?
Stories Ios Sound.
final
storiesMuted bool
stories_muted: bit 6 of flags.6?Bool
final
storiesOtherSound NotificationSoundBase?
Stories Other Sound.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited