@mobilon-dev/amotop - v0.1.47
Preparing search index...
AmoJoChannelClient
Class AmoJoChannelClient
Index
Constructors
constructor
Methods
connect
Channel
disconnect
Channel
get
Amo
Chat
Domain
get
Channel
Id
send
Request
Constructors
constructor
new
AmoJoChannelClient
(
options
:
AmoJoChannelClientOptions
)
:
AmoJoChannelClient
Parameters
options
:
AmoJoChannelClientOptions
Returns
AmoJoChannelClient
Methods
connect
Channel
connectChannel
(
amojo_account_id
:
string
,
title
:
string
,
hook_api_version
?:
string
,
)
:
Promise
<
ConnectChannelResponse
>
Parameters
amojo_account_id
:
string
title
:
string
hook_api_version
:
string
= 'v2'
Returns
Promise
<
ConnectChannelResponse
>
disconnect
Channel
disconnectChannel
(
amojo_account_id
:
string
)
:
Promise
<
DisconnectChannelResponse
>
Parameters
amojo_account_id
:
string
Returns
Promise
<
DisconnectChannelResponse
>
get
Amo
Chat
Domain
getAmoChatDomain
()
:
string
Returns
string
get
Channel
Id
getChannelId
()
:
string
Returns
string
send
Request
sendRequest
<
T
=
Record
<
string
,
unknown
>
>
(
method
:
string
,
url
:
string
,
options
?:
SendRequestOptions
,
)
:
Promise
<
T
>
Type Parameters
T
=
Record
<
string
,
unknown
>
Parameters
method
:
string
url
:
string
options
:
SendRequestOptions
= {}
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
connect
Channel
disconnect
Channel
get
Amo
Chat
Domain
get
Channel
Id
send
Request
@mobilon-dev/amotop - v0.1.47
Loading...