var stored_names = {
332438809: "Bereznyak24",
489485245: "Bereznyak25"
}
if ((data.message.from.id in stored_names) && (data.message.text === "/start")) {
SendMsg(id, first_reply.text);
}
How can I check if my object has key (or has not) that's equal to data.message.from.id
value that I get later?