toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'private_chat_settings': privateChatSettings.toJson(),
'group_settings': groupSettings.toJson(),
'channel_settings': channelSettings.toJson(),
'exceptions': [for (final e in exceptions) e.toJson()],
};