【发布时间】:2017-05-22 02:38:37
【问题描述】:
我使用这种格式通过我在 Telegram 中的 Bot 向一个特殊的组发送短信,但我不知道如何在我的文本中发送标签字符?
https://api.telegram.org/bot/sendMessage?chat_id
【问题讨论】:
标签: api methods bots telegram hashtag
我使用这种格式通过我在 Telegram 中的 Bot 向一个特殊的组发送短信,但我不知道如何在我的文本中发送标签字符?
https://api.telegram.org/bot/sendMessage?chat_id
【问题讨论】:
标签: api methods bots telegram hashtag
例如:https://api.telegram.org/bot<token>/sendMessage?chat_id=12345678&text=This%20is%20an%20%23hashtag
【讨论】:
_ 除外)的单词。示例:#hello、#hello_world、#telegram、#telegramisthebest。
如果你的机器人使用 php,你可以在你的脚本中使用它
"https://api.telegram.org/bot/sendMessage?chat_id=xxxxxxxx&text=".urlencode($text)
【讨论】: