Ejemplo n.º 1
0
        public void RecibirMensajeSlack()
        {
            var urlWithAccessToken = "https://hooks.slack.com/services/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";


            var client = new ServicioSlack(urlWithAccessToken);

            client.PostMessage(username: "******",
                               text: "THIS IS A TEST MESSAGE! SQUEEDLYBAMBLYFEEDLYMEEDLYMOWWWWWWWW!",
                               channel: "#voboestabilizacioncore");
        }
Ejemplo n.º 2
0
        public void EnviarMensajeSlack()
        {
            var urlWithAccessToken = "https://hooks.slack.com/services/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";


            var client = new ServicioSlack(urlWithAccessToken);

            client.PostMessage(username: "******",
                               text: "THIS IS A TEST MESSAGE! SQUEEDLYBAMBLYFEEDLYMEEDLYMOWWWWWWWW!",
                               channel: "#voboestabilizacioncore");
        }