!7 sclass TelegramThinkBot > DynPrintLog { void start { watchStructureLog_plusLastLine(500, telegramLogFile(), voidfunc(Map map) { printStruct(map); S s = getString(map, 'text); if "am i authorized" { temp tempSetThreadLocal(telegram_msg_tl(), map); makeAndCall_initChild.set(voidfunc(Class c) { copyFields(mc(), c, 'telegram_msg_tl) }); postMessage(yesno(isTrue(makeAndCall("telegram_amIAuthorized")))); } }); } void postMessage(S s) { telegram_postToSendLog(s); } }