mass refactor

This commit is contained in:
2025-09-18 08:31:14 +09:00
parent 856bf3ca2a
commit bdd7d0424f
58 changed files with 3009 additions and 291 deletions

View File

@@ -218,9 +218,10 @@ export class EnhancedChatHandlers {
const messageId = await this.chatService.sendMessage(
matchId,
telegramId,
msg.text || '[Медиа]',
msg.photo ? 'photo' : 'text',
msg.photo ? msg.photo[msg.photo.length - 1].file_id : undefined
msg.photo ?
(msg.caption || '[Фото]') + ' [file_id: ' + msg.photo[msg.photo.length - 1].file_id + ']' :
(msg.text || '[Медиа]'),
msg.photo ? 'photo' : 'text'
);
if (messageId) {