Methods
Static
createOrGetThread
- createOrGetThread<T>(data?, params?): AxiosPromise<default<T>>
Parameters
Optional
data: object
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
A promise
Static
deleteMessage
- deleteMessage<T>(message_id, data?, params?): AxiosPromise<default<T>>
Parameters
message_id: string
Optional
data: object
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
A promise
Static
getThread
- getThread<T>(thread_id, params?): AxiosPromise<default<T>>
Parameters
thread_id: string
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
listMessageThreads
- listMessageThreads<T>(params?): AxiosPromise<default<T>>
Parameters
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
sendMessage
- sendMessage<T>(data?, params?): AxiosPromise<default<T>>
Parameters
Optional
data: object
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
A promise
A message thread is a thread between multiple users. Pass the user ids in the thread and it will either get the current thread or create a new thread.