From eaa81f248055547b31e1ab73a3031e0989ea71e8 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sun, 23 Apr 2023 17:57:08 +0200 Subject: [PATCH] ... --- src/clients/tg.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clients/tg.mjs b/src/clients/tg.mjs index b2e2cb6..6ee4e9f 100644 --- a/src/clients/tg.mjs +++ b/src/clients/tg.mjs @@ -162,7 +162,7 @@ export default class tg extends EventEmitter { message: tmp.text, time: tmp.date, raw: tmp, - photo: tmp.media || null, + media: tmp.media || null, reply: (msg, opt = {}) => this.send(tmp.chat.id, msg, tmp.message_id, opt), replyAction: msg => this.send(tmp.chat.id, `Uwe ${msg}`, tmp.message_id), replyNotice: msg => this.send(tmp.chat.id, msg, tmp.message_id),