5cb88237f5
* Chore: Move conversationStats to a seperate module * Move toggleTyping to conversationTypingStatus * Remove unused agentTyping flag * Fix review comments
17 lines
357 B
JavaScript
17 lines
357 B
JavaScript
/* global axios */
|
|
import ApiClient from '../ApiClient';
|
|
|
|
class FBChannel extends ApiClient {
|
|
constructor() {
|
|
super('facebook_indicators', { accountScoped: true });
|
|
}
|
|
|
|
create(params) {
|
|
return axios.post(
|
|
`${this.url.replace(this.resource, '')}callbacks/register_facebook_page`,
|
|
params
|
|
);
|
|
}
|
|
}
|
|
|
|
export default new FBChannel();
|