CallProtocol class

Inheritance

Constructors

CallProtocol({bool udpP2p, bool udpReflector, int minLayer, int maxLayer, List<String> libraryVersions})
Specifies the supported call protocols
CallProtocol.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
libraryVersions List<String>
libraryVersions List of supported tgcalls versions
read / write
maxLayer int
maxLayer The maximum supported API layer; use 65
read / write
minLayer int
minLayer The minimum supported API layer; use 65
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
udpP2p bool
udpP2p True, if UDP peer-to-peer connections are supported
read / write
udpReflector bool
udpReflector True, if connection through UDP reflectors is supported
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'callProtocol'