public CreateWebHook ( int roomId, string url, string pattern, Hipchat.Models.RoomEvent eventType, string name ) : CreateWebHookResponse | ||
roomId | int | |
url | string | |
pattern | string | |
eventType | Hipchat.Models.RoomEvent | |
name | string | |
리턴 | CreateWebHookResponse |
private static void Main(string[] args) { //Setup shit const int roomId = 510675; const string postToUrl = "http://kylegobel.com/hipchatRedisRelay/message"; var client = new HipchatClient(); client.CreateWebHook(roomId, postToUrl, "", HipchatApiV2.Enums.RoomEvent.RoomNotification, "Botso send message hook"); Console.ReadLine(); }