From 2284368e88496e219e8a68166d90c70ae77c6ac7 Mon Sep 17 00:00:00 2001 From: luotuan Date: Sun, 26 Feb 2023 18:37:24 +0800 Subject: [PATCH] 11 --- channel/telegram/telegram_channel.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/channel/telegram/telegram_channel.py b/channel/telegram/telegram_channel.py index 9ae0c64..7edfa3f 100644 --- a/channel/telegram/telegram_channel.py +++ b/channel/telegram/telegram_channel.py @@ -59,9 +59,10 @@ class TelegramChannel(Channel): # 图片发送 logger.info('[Telegrame] sendImage, receiver={}'.format(reply_user_id)) - splitted_text = util.split_string(image_storage, 3000) - for text in splitted_text: - bot.send_message(msg.chat.id, text) + # splitted_text = util.split_string(image_storage, 3000) + # for text in splitted_text: + # bot.send_message(msg.chat.id, text) + bot.reply_to(msg,pic_res) except Exception as e: logger.exception(e)