Last active
June 1, 2021 14:11
Star
You must be signed in to star a gist
Skype Bot API send message BASH script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To get TOKEN, ref this gist https://gist.github.com/pankpan/ad68f50cd44c1dae9203d29964d579e5 | |
# TO is personal uid or conversation id | |
TOKEN= | |
TO= | |
curl -sd '{"type":"message","text":"Test 20210601"}' -H "Authorization: Bearer $TOKEN" https://smba.trafficmanager.net/apis/v3/conversations/$TO/activities |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment