Dialogue - antilandjs/antiland.js GitHub Wiki
The dialogue object.
extends BaseStructure
Properties
.messages : MessageManager<id, Message>
The author of the message.
.url : string • readonly
The short url for the chat room.
Methods
.leave() : Promise<object>
Leave this dialogue.
.ping() : Promise<object>
Ping your presence.
.rating() : Promise<object>
Fetch users ratings on this chat.
.send(content, options?) : Promise<object?>
Send love to the message author for the message.
| Name | Type | Optional |
|---|---|---|
| content | string | No |
| options | object | Yes |
.sendMedia(imageURL, options?) : Promise<object>
Send media files as a message.
| Name | Type | Optional |
|---|---|---|
| imageURL | string | No |
| options | object | Yes |
.sendSticker(stickerId, options?) : Promise<object?>
Send a sticker.
| Name | Type | Optional |
|---|---|---|
| stickerId | string | No |
| options | object | Yes |