CallStateReady class final

The call is ready to use

Inheritance

Constructors

CallStateReady({required CallProtocol protocol, required List<CallServer> servers, required String config, required String encryptionKey, required List<String> emojis, required bool allowP2p})
The call is ready to use
const
CallStateReady.fromJson(Map<String, dynamic> json)
Parses a CallStateReady from TDLib JSON.
factory

Properties

allowP2p → bool
True, if peer-to-peer connection is allowed by users privacy settings
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
config → String
A JSON-encoded call config
final
emojis → List<String>
Encryption key emojis fingerprint
final
encryptionKey → String
Call encryption key
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
protocol → CallProtocol
Call protocols supported by the other call participant
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
servers → List<CallServer>
List of available call servers
final

Methods

copyWith({CallProtocol? protocol, List<CallServer>? servers, String? config, String? encryptionKey, List<String>? emojis, bool? allowP2p}) → CallStateReady
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.
override
getConstructor() → String
TDLib type name, e.g. updateNewMessage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this object to TDLib JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
TDLib type name.