static LS basicFactsAboutTelegramMsg(TelegramMsg msg) { S triv = telegram_chatIDToTrivialName(msg.chatID); S ref = "Message " + triv + "_" + msg.date + "_" + msg.globalID; new LS out; if (msg.userID == 0) out.add(ref + " was sent by bot"); else out.add(ref + " was sent by user ID " + msg.userID); out.add(ref + " has text " + quote(msg.text)); if (msg.date != 0) out.add(ref + " has date " + msg.date); if (msg.originalDate != 0) out.add(ref + " has original date " + msg.originalDate); if (msg.chatID != 0) out.add(ref + " was sent in Telegram chat " + (-msg.chatID)); ret out; }