-
-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图片发送 #123
Comments
按照telegram和企业微信官方的接口来说,是支持以markdown的形式发送图文的,你现在是有测试不行吗 |
我似乎在telegram和企业微信的API文档中的Markdown部分并没有发现它支持发送图文,你指的是将图片以超链接形式发送吗? |
import telebot
from telebot import asyncio_helper
# Replace 'YOUR_BOT_TOKEN' with your bot's token
bot_token = ""
asyncio_helper.proxy = "http://127.0.0.1:7890"
bot = telebot.TeleBot(bot_token)
# Replace 'YOUR_CHAT_ID' with the chat ID where you want to send the message
chat_id = ""
# Markdown formatted message
message_text = """
*Bold text*
_Italic text_
[Link](https://jp.mercari.com/item/m67531566397)
![Image](https://static.mercdn.net/c!/w=240,f=webp/thumb/photos/m56996954488_1.jpg)
"""
# Send the message
bot.send_message(chat_id, message_text, parse_mode="Markdown") 测试了一下telegram的markdown图片发送,实际也还是以超链接的形式被发送... 似乎无效 |
例行检查
功能描述
像telegram 企业微信这种能否支持发送图片? 或者图文形式
应用场景
The text was updated successfully, but these errors were encountered: