CallProtocol class

Specifies the supported call protocols.

Inheritance
Available Extensions

Constructors

CallProtocol({required bool udp_p2p, required bool udp_reflector, required int min_layer, required int max_layer, required List<String> library_versions, int? extra, int? clientId})
Specifies the supported call protocols

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
library_versions List<String>
List of supported tgcalls versions.
read / write
max_layer int
The maximum supported API layer; use 92.
read / write
min_layer int
The minimum supported API layer; use 65.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
udp_p2p bool
True, if UDP peer-to-peer connections are supported.
read / write
udp_reflector bool
True, if connection through UDP reflectors is supported.
read / write

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) CallProtocol?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"callProtocol"