Created
December 26, 2016 03:20
-
-
Save isdaviddong/45d69a23f0208cb3b1faf9e87f909eed to your computer and use it in GitHub Desktop.
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
string Token = "你自己的LineBot Channel Access Token"; | |
string toUserId = "傳送對象的UserId"; | |
//建立LineBot物件實體 | |
isRock.LineBot.Bot LineBot = new isRock.LineBot.Bot(Token); | |
//發送圖片訊息 | |
LineBot.PushMessage(toUserId, | |
new Uri("https://圖片位置/22-124303-d8b2c4de-9a8c-48da-83f1-7c0d36de3ab6.png")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment