PhoneDiscardCall class

Phone Discard Call.

Return Type: UpdatesBase. ID: b2cbc1c0.

Inheritance

Constructors

PhoneDiscardCall({required bool video, required InputPhoneCallBase peer, required int duration, required PhoneCallDiscardReasonBase reason, required int connectionId})
Phone Discard Call constructor.
const
PhoneDiscardCall.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

connectionId int
Connection Id.
final
duration int
Duration.
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
peer InputPhoneCallBase
Peer.
final
reason PhoneCallDiscardReasonBase
Reason.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
video bool
video: bit 0 of flags.0?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