mirror of https://github.com/Nofated095/Q2TG.git
parent
b15ffc0d73
commit
65cdff7c07
|
@ -2,7 +2,6 @@ import Telegram from '../client/Telegram';
|
|||
import { Group, GroupMessageEvent, PrivateMessageEvent, Quotable, segment, Sendable } from 'oicq';
|
||||
import { fetchFile, getBigFaceUrl, getImageUrlByMd5 } from '../utils/urls';
|
||||
import { ButtonLike, FileLike } from 'telegram/define';
|
||||
import { CustomFile } from 'telegram/client/uploads';
|
||||
import { getLogger, Logger } from 'log4js';
|
||||
import path from 'path';
|
||||
import exts from '../constants/exts';
|
||||
|
@ -54,6 +53,7 @@ export default class ForwardService {
|
|||
files.push(file);
|
||||
if (event.message_type === 'group') {
|
||||
buttons.push(Button.inline(`${sender}:`));
|
||||
messageHeader = '';
|
||||
}
|
||||
};
|
||||
for (const elem of event.message) {
|
||||
|
|
Loading…
Reference in New Issue