Search
Preparing search index...
The search index is not available
node-groupme
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
ChatMessage
Exports
Class ChatMessage
Hierarchy
Message
<
Chat
>
ChatMessage
Implements
ChatMessageInterface
Constructors
constructor
Properties
attachments
channel
client
created
At
id
likes
source
Guid
system
text
user
Accessors
can
Delete
Methods
_clone
_patch
delete
fetch
like
reply
unlike
Constructors
constructor
new
Chat
Message
(
client
:
Client
, channel
:
Chat
, data
:
APIGroupMessage
|
APIChatMessage
)
:
ChatMessage
Parameters
client:
Client
channel:
Chat
data:
APIGroupMessage
|
APIChatMessage
Returns
ChatMessage
Properties
attachments
attachments
:
Attachment
[]
channel
channel
:
Chat
Readonly
client
client
:
Client
created
At
created
At
:
number
Readonly
id
id
:
string
likes
likes
:
(
string
|
User
)
[]
source
Guid
source
Guid
:
string
system
system
:
boolean
text
text
:
null
|
string
user
user
:
User
Accessors
can
Delete
get
canDelete
(
)
:
boolean
Returns
boolean
Methods
_clone
_clone
(
)
:
any
Returns
any
_patch
_patch
(
data
:
Partial
<
APIGroupMessage
|
APIChatMessage
>
)
:
ChatMessage
Parameters
data:
Partial
<
APIGroupMessage
|
APIChatMessage
>
Returns
ChatMessage
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
fetch
fetch
(
)
:
Promise
<
ChatMessage
>
Returns
Promise
<
ChatMessage
>
like
like
(
)
:
Promise
<
ChatMessage
>
Returns
Promise
<
ChatMessage
>
reply
reply
(
message
:
string
)
:
Promise
<
Message
<
Chat
>
>
Parameters
message:
string
Returns
Promise
<
Message
<
Chat
>
>
unlike
unlike
(
)
:
Promise
<
ChatMessage
>
Returns
Promise
<
ChatMessage
>
Channel
Type
Former
Member
State
Attachment
Base
Base
Group
Base
Manager
Channel
Chat
Chat
Manager
Chat
Message
constructor
attachments
channel
client
created
At
id
likes
source
Guid
system
text
user
can
Delete
_clone
_patch
delete
fetch
like
reply
unlike
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