Search
Preparing search index...
The search index is not available
node-groupme
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
ChatManager
Exports
Class ChatManager
Hierarchy
BaseManager
<
Chat
,
typeof Chat
>
ChatManager
Implements
ChatManagerInterface
Constructors
constructor
Properties
cache
client
holds
Methods
_remove
_upsert
fetch
fetch
Chats
resolve
resolve
Id
Constructors
constructor
new
Chat
Manager
(
client
:
Client
)
:
ChatManager
Parameters
client:
Client
Returns
ChatManager
Properties
Readonly
cache
cache
:
Collection
<
string
,
Chat
>
Readonly
client
client
:
Client
Readonly
holds
holds
:
typeof Chat
Methods
_remove
_remove
(
data
:
Chat
)
:
boolean
Parameters
data:
Chat
Returns
boolean
_upsert
_upsert
(
data
:
Chat
)
:
Chat
Parameters
data:
Chat
Returns
Chat
fetch
fetch
(
)
:
Promise
<
Collection
<
string
,
Chat
>
>
fetch
(
id
:
string
)
:
Promise
<
Chat
>
fetch
(
ids
:
string
[]
)
:
Promise
<
Collection
<
string
,
null
|
Chat
>
>
Returns
Promise
<
Collection
<
string
,
Chat
>
>
Parameters
id:
string
Returns
Promise
<
Chat
>
Parameters
ids:
string
[]
Returns
Promise
<
Collection
<
string
,
null
|
Chat
>
>
fetch
Chats
fetch
Chats
(
options
?:
object
)
:
Promise
<
Collection
<
string
,
Chat
>
>
Parameters
Optional
options:
object
Optional
page
?:
number
Optional
per_
page
?:
number
Returns
Promise
<
Collection
<
string
,
Chat
>
>
resolve
resolve
(
data
:
unknown
)
:
null
|
Chat
Parameters
data:
unknown
Returns
null
|
Chat
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
constructor
cache
client
holds
_remove
_upsert
fetch
fetch
Chats
resolve
resolve
Id
Chat
Message
Chat
Message
Manager
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