DiscardCall class

Discards a call.

Returns Ok.

Inheritance
Available Extensions

Constructors

DiscardCall({required int call_id, required bool is_disconnected, required int duration, required bool is_video, required int64 connection_id, int? extra, int? clientId})
Discards a call

Properties

call_id int
Call identifier.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
connection_id int64
Identifier of the connection used during the call. ; string representation of int, use int.parse
read / write
duration int
The call duration, in seconds.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
is_disconnected bool
Pass true if the user was disconnected.
read / write
is_video bool
Pass true if the call was a video call.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) DiscardCall?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"discardCall"