mirror of
https://github.com/zhayujie/bot-on-anything.git
synced 2026-01-19 01:21:06 +08:00
11
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user