InputPeerNotifySettings class

Input Peer Notify Settings.

ID: cacb6ae2.

Inheritance

Constructors

InputPeerNotifySettings({required bool showPreviews, required bool silent, DateTime? muteUntil, NotificationSoundBase? sound, required bool storiesMuted, required bool storiesHideSender, NotificationSoundBase? storiesSound})
Input Peer Notify Settings constructor.
const
InputPeerNotifySettings.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
muteUntil DateTime?
Mute Until.
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
sound NotificationSoundBase?
Sound.
final
storiesHideSender bool
stories_hide_sender: bit 7 of flags.7?Bool
final
storiesMuted bool
stories_muted: bit 6 of flags.6?Bool
final
storiesSound NotificationSoundBase?
Stories 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