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