Home Reference Source Test Repository

Typedef

Static Public Summary
public
public
public

requestCallback(error: Error, body: Object, response: HttpResponse): function

Request Callback

Static Public

public MessageCreateParams: Object source

Properties:

NameTypeAttributeDescription
roomId string

The Room ID

toPersonId string

Person ID

toPersonEmail string

Email Address

text string

Plain Message text

markdown string

Markdown formatted Message text

files Array(string)

Public URL link to the files

public MessageListParams: Object source

Properties:

NameTypeAttributeDescription
roomId string

The Room ID

mentionedPeople string
  • optional

filter messages which has mentioned Person ID

before string
  • optional

list Messages before time in ISO8601 format

beforeMessage string
  • optional

list Messages before Message ID

max number
  • optional

Limit maximum messages in response

public requestCallback(error: Error, body: Object, response: HttpResponse): function source

Request Callback

Params:

NameTypeAttributeDescription
error Error

Error object

body Object

Response body

response HttpResponse

Http Server Response