-
-
Notifications
You must be signed in to change notification settings - Fork 0
Message
Calculus edited this page Mar 2, 2024
·
4 revisions
The message object.
extends BaseStructure
.author : User
The author of the message.
.content : string
The content of the message.
.deletable : boolean • readonly
Whether this message can be deleted by the client user.
.dialogue : Dialogue | null • readonly
The channel in which the message was sent.
.dialogueId : string
The ID of the channel in which the message was sent.
.edits : Array | null • readonly
A list of previous versions of the message content.
.lovers : LoverManager
The cache manager for users that loved this message.
.originalContent : string
The original text content of the message.
.reference : Message | null • readonly
The reference message.
.referenceId : string
The ID of the message being replied to.
Delete the message.
Edit the message.
| Name | Type | Optional |
|---|---|---|
| content | string | No |
Send love to the message author for the message.
Reply to the message.
| Name | Type | Optional |
|---|---|---|
| content | string | No |
Translate the message.
A powerful library for interacting with the AntiLand API