import HipChatNotifier from 'github-wiki-notifier/src/notifiers/HipChatNotifier.js'
HipChatNotifier
Notify to HipChat
Constructor Summary
Public Constructor | ||
public |
constructor(opts: Object) Constructor |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
notify(diffs: Object[] | string[], repository: Object | string, user: Object, maxLength: number, dryRun: boolean): Promise Send message |
Public Constructors
Public Members
public hipchatNotify: * source
Public Methods
public notify(diffs: Object[] | string[], repository: Object | string, user: Object, maxLength: number, dryRun: boolean): Promise source
Send message
Params:
Name | Type | Attribute | Description |
diffs | Object[] | string[] | diff list |
|
repository | Object | string | repository object in GitHub Webhook payload |
|
user | Object |
|
sender object in GitHub Webhook payload |
maxLength | number |
|
repository object in GitHub Webhook payload |
dryRun | boolean |
|
a flag for disable sending |