Chameleon
Preparing search index...
MessageManager
Class MessageManager
Index
Constructors
constructor
Methods
fetch
send
edit
delete
Constructors
constructor
new
MessageManager
(
rest
:
ChameleonREST
,
store
:
TongueStore
)
:
MessageManager
Parameters
rest
:
ChameleonREST
store
:
TongueStore
Returns
MessageManager
Methods
fetch
fetch
(
channelId
:
string
,
messageId
:
string
,
force
?:
boolean
,
)
:
Promise
<
ChameleonAPIResult
<
Message
>
>
Parameters
channelId
:
string
messageId
:
string
force
:
boolean
= false
Returns
Promise
<
ChameleonAPIResult
<
Message
>
>
send
send
(
channelId
:
string
,
payload
:
string
|
Record
<
string
,
any
>
,
)
:
Promise
<
ChameleonAPIResult
<
Message
>
>
Parameters
channelId
:
string
payload
:
string
|
Record
<
string
,
any
>
Returns
Promise
<
ChameleonAPIResult
<
Message
>
>
edit
edit
(
channelId
:
string
,
messageId
:
string
,
payload
:
string
|
Record
<
string
,
any
>
,
)
:
Promise
<
ChameleonAPIResult
<
Message
>
>
Parameters
channelId
:
string
messageId
:
string
payload
:
string
|
Record
<
string
,
any
>
Returns
Promise
<
ChameleonAPIResult
<
Message
>
>
delete
delete
(
channelId
:
string
,
messageId
:
string
)
:
Promise
<
ChameleonAPIResult
<
void
>
>
Parameters
channelId
:
string
messageId
:
string
Returns
Promise
<
ChameleonAPIResult
<
void
>
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
fetch
send
edit
delete
Chameleon
Loading...