toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'chat_id': chatId,
'list': list?.toJson(),
'order': order,
'max_read_story_id': maxReadStoryId,
'stories': [for (final e in stories) e.toJson()],
};