Time Messaging APIΛ͏ rtm := api.NewRTM()
// webSocketΛฒྻͰ࣮ߦ͢Δ go rtm.ManageConnection()
// cronΛ࡞͢Δɻ 5ຖʹRTM APIͰϝοηʔδΛಛఆCHANNEL_IDʹૹΔ c := cron.New() c.AddFunc(“0 */5 * * * *”, func () {rtm.SendMessage(rtm.NewOutgoingMessage(“test”, CHANNEL_ID))}) c.Start()