Home Reference Source Test Repository
public class | source

HipChatNotifier

Notify to HipChat

Constructor Summary

Public Constructor
public

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 constructor(opts: Object) source

Constructor

Params:

NameTypeAttributeDescription
opts Object
  • optional

options

Public Members

public hipchatNotify: * source

public maxLength: number source

public get service: string source

Public Methods

public notify(diffs: Object[] | string[], repository: Object | string, user: Object, maxLength: number, dryRun: boolean): Promise source

Send message

Params:

NameTypeAttributeDescription
diffs Object[] | string[]

diff list

repository Object | string

repository object in GitHub Webhook payload

user Object
  • optional

sender object in GitHub Webhook payload

maxLength number
  • optional

repository object in GitHub Webhook payload

dryRun boolean
  • optional

a flag for disable sending

Return:

Promise