for_info = {
"message.message_id": message.message_id,
"info_bu":{
"status_s": status_s,
"namber_b": namber_b,
"id_answers": id_answers_links
}
}
info_story = json.load(open("story.json"))
info_story.append(for_info)
with open("story.json", "w") as file:
json.dump(info_story, file, ensure_ascii=True)