PhoneCallDiscarded class

Phone Call Discarded.

ID: 50ca4de1.

Inheritance

Constructors

PhoneCallDiscarded({required bool needRating, required bool needDebug, required bool video, required int id, PhoneCallDiscardReasonBase? reason, int? duration})
Phone Call Discarded constructor.
const
PhoneCallDiscarded.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

duration → int?
Duration.
final
flags → int
Flags.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → int
Id.
final
needDebug → bool
need_debug: bit 3 of flags.3?true
final
needRating → bool
need_rating: bit 2 of flags.2?true
final
reason → PhoneCallDiscardReasonBase?
Reason.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
video → bool
video: bit 6 of flags.6?true
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