toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'protocol': protocol.toJson(),
'servers': [for (final e in servers) e.toJson()],
'config': config,
'encryption_key': encryptionKey,
'emojis': emojis,
'allow_p2p': allowP2p,
'is_group_call_supported': isGroupCallSupported,
'custom_parameters': customParameters,
};