"));
String imgID = bot ? botImageID : userImageID;
if (nempty(imgID))
buf.append("

"
.replace("$IMG", snippetImgLink(imgID)));
buf.append("\r\n
\r\n
\r\n $TEXT\r\n
\r\n
\r\n
\r\n ".replace("$LR", bot != botOnRight ? "left" : "right")
.replace("$NAME", name)
.replace("$TIME", time)
.replace("$TEXT", text));
}
static String replaceButtonText(String s) {
if (eqicOneOf(s, "back", "zurück")) return unicode_undoArrow();
if (eqicOneOf(s, "cancel", "Abbrechen")) return unicode_crossProduct();
return s;
}
static String renderButtons(List