toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'chat_id': chatId,
'size': size,
'count': count,
'by_file_type': [for (final e in byFileType) e.toJson()],
};