/opt/calend/isworkday.py && /bin/bash /opt/media/play.sh
let newId = (this.messages.map(x => x.id).sort((a, b) => b - a)[0] || 0) + 1
data () {
return {
messages [
{"id": 1, "from": "me", "text":"Привет"},
{"id": 2, "from": "bot", "text":"Привет, сэр"},
{"id": 3, "from": "me", "text":"Как дела"},
{"id": 4, "from": "bot", "text":"Как дела, сэр"}
]
}
}