如何使用 Telegram 机器人的消息文本发送哈希值 api
How to send hashtage with meassage text of Telegram bot api
我想用电报机器人 api 出售 hastage,如下所示
url = r.post(url=f"https://api.telegram.org/bot/sendMessage?chat_id=233331114&text= Binance Future \U0001F3E6 #BTC/USDT \nEntry achived {1471} \U0001F4B0")
所以问题是我在我的频道中收到了这条消息
Binance Future
# 之后的所有文字都消失了
按照我评论中的建议,这应该有效:
url = https://api.telegram.org/bot/sendMessage
text_var = f' Binance Future \U0001F3E6 #BTC/USDT \nEntry achived {1471} \U0001F4B0'
my_data = {"chat_id": 233331114, "text":text_var}
response = r.post(url, data=my_data)
我想用电报机器人 api 出售 hastage,如下所示
url = r.post(url=f"https://api.telegram.org/bot/sendMessage?chat_id=233331114&text= Binance Future \U0001F3E6 #BTC/USDT \nEntry achived {1471} \U0001F4B0")
所以问题是我在我的频道中收到了这条消息
Binance Future
# 之后的所有文字都消失了
按照我评论中的建议,这应该有效:
url = https://api.telegram.org/bot/sendMessage
text_var = f' Binance Future \U0001F3E6 #BTC/USDT \nEntry achived {1471} \U0001F4B0'
my_data = {"chat_id": 233331114, "text":text_var}
response = r.post(url, data=my_data)