Skip to content

Instantly share code, notes, and snippets.

@isdaviddong
Last active September 17, 2018 07:55
Show Gist options
  • Select an option

  • Save isdaviddong/2474533cb55ce42590071f0057fa2487 to your computer and use it in GitHub Desktop.

Select an option

Save isdaviddong/2474533cb55ce42590071f0057fa2487 to your computer and use it in GitHub Desktop.
quickreply.cs
isRock.LineBot.TextMessage msg =
new isRock.LineBot.TextMessage("請問你要請什麼假別?");
msg.quickReply.items.Add(
new isRock.LineBot.QuickReplyMessageAction(
"特休", "特休", new Uri("https://arock.blob.core.windows.net/blogdata201809/if_resolutions-25_897228.png")));
msg.quickReply.items.Add(
new isRock.LineBot.QuickReplyMessageAction(
"事假", "事假", new Uri("https://arock.blob.core.windows.net/blogdata201809/if_busy_83242.png")));
msg.quickReply.items.Add(
new isRock.LineBot.QuickReplyMessageAction(
"病假", "病假", new Uri("https://arock.blob.core.windows.net/blogdata201809/if_emoji_emoticon-35_3638429.png")));
isRock.LineBot.Bot bot = new isRock.LineBot.Bot(ChannelAccessToken);
bot.PushMessage(AdminUserId, msg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment