Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

reply_markup 能不能给一个简单的示例? #3

Closed
daizy008 opened this issue Aug 9, 2018 · 2 comments
Closed

reply_markup 能不能给一个简单的示例? #3

daizy008 opened this issue Aug 9, 2018 · 2 comments

Comments

@daizy008
Copy link

daizy008 commented Aug 9, 2018

还是没搞懂怎么插 inline keyboard

@Fndroid
Copy link
Owner

Fndroid commented Aug 9, 2018

curl -i -X POST \
   -H "Content-Type:application/x-www-form-urlencoded" \
   -d "text=hello" \
   -d "reply_markup={\"inline_keyboard\":[[{\"text\":\"btn1\",\"url\":\"https://t.me/Rules_lhie1\"}]]}" \
 'https://tgbot.lbyczf.com/sendMessage/你的链接Token'

@daizy008
Copy link
Author

daizy008 commented Aug 9, 2018

晓得了。谢谢

@daizy008 daizy008 closed this as completed Aug 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants