Search
Preparing search index...
The search index is not available
node-groupme
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
ChatMessageManager
Exports
Class ChatMessageManager
Hierarchy
MessageManager
<
Chat
,
ChatMessage
,
typeof ChatMessage
>
ChatMessageManager
Constructors
constructor
Properties
cache
channel
client
holds
Methods
_remove
_upsert
fetch
fetch
All
fetch
Id
fetch
Ids
fetch
Index
resolve
resolve
Id
Constructors
constructor
new
Chat
Message
Manager
(
client
:
Client
, channel
:
Chat
)
:
ChatMessageManager
Parameters
client:
Client
channel:
Chat
Returns
ChatMessageManager
Properties
Readonly
cache
cache
:
Collection
<
string
,
ChatMessage
>
Readonly
channel
channel
:
Chat
Readonly
client
client
:
Client
Readonly
holds
holds
:
typeof ChatMessage
Methods
_remove
_remove
(
data
:
ChatMessage
)
:
boolean
Parameters
data:
ChatMessage
Returns
boolean
_upsert
_upsert
(
data
:
ChatMessage
)
:
ChatMessage
Parameters
data:
ChatMessage
Returns
ChatMessage
fetch
fetch
(
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
fetch
(
id
:
string
)
:
Promise
<
ChatMessage
>
fetch
(
ids
:
string
[]
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
fetch
(
options
:
MessageRequestParams
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
Parameters
id:
string
Returns
Promise
<
ChatMessage
>
Parameters
ids:
string
[]
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
Parameters
options:
MessageRequestParams
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
Private
fetch
All
fetch
All
(
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
Private
fetch
Id
fetch
Id
(
id
:
string
)
:
Promise
<
ChatMessage
>
Parameters
id:
string
Returns
Promise
<
ChatMessage
>
Private
fetch
Ids
fetch
Ids
(
ids
:
string
[]
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
Parameters
ids:
string
[]
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
Private
fetch
Index
fetch
Index
(
options
:
MessageRequestParams
)
:
Promise
<
Collection
<
string
,
ChatMessage
>
>
Parameters
options:
MessageRequestParams
Returns
Promise
<
Collection
<
string
,
ChatMessage
>
>
resolve
resolve
(
data
:
unknown
)
:
null
|
ChatMessage
Parameters
data:
unknown
Returns
null
|
ChatMessage
resolve
Id
resolve
Id
(
data
:
unknown
)
:
null
|
string
Parameters
data:
unknown
Returns
null
|
string
Channel
Type
Former
Member
State
Attachment
Base
Base
Group
Base
Manager
Channel
Chat
Chat
Manager
Chat
Message
Chat
Message
Manager
constructor
cache
channel
client
holds
_remove
_upsert
fetch
fetch
All
fetch
Id
fetch
Ids
fetch
Index
resolve
resolve
Id
Client
Collection
Former
Group
Former
Group
Manager
Former
Member
Former
Member
Manager
Group
Group
Manager
Group
Message
Group
Message
Manager
Member
Member
Manager
Message
Message
Like
Manager
Message
Manager
Poll
Poll
Manager
Poll
Option
Relationship
Relationship
Manager
User
User
Manager
Sendable
Channel
Interface
Generated using
TypeDoc