Skip to content

Instantly share code, notes, and snippets.

@pankpan
Last active June 1, 2021 14:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pankpan/0621c77ae60dea22c2d2d544d9782b92 to your computer and use it in GitHub Desktop.
Skype Bot API send message BASH script
#!/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