This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.HipChat.
Summary
Send a HipChat message using the HipChat.Net NuGet Package
Syntax
public static void SendMessage(this ICakeContext context, string authToken, string roomId, string senderName, string message)
Examples
var authToken = EnvironmentVariable("HIPCHAT_AUTH_TOKEN");
var roomId = EnvironmentVariable("HIPCHAT_ROOM_ID");
var senderName = EnvironmentVariable("HIPCHAT_SENDER_NAME");
SendMessage(authToken, roomId, senderName, "Testing, 3, 2, 1");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The Cake Context |
authToken |
string |
|
roomId |
string |
|
senderName |
string |
|
message |
string |
The message to send. |
Return Value