Group - antilandjs/antiland.js GitHub Wiki
The base structure for user objects.
extends Dialogue
.bans : BanManager
The ban manager for this chat.
A list of categories and topics for this chat.
.description : string | null • readonly
The description for this chat.
.founder : User • readonly
The founder of this group.
.founderId : string
The ID of the user who founded this group.
.humanLink : string | null • readonly
The human-link vanity URL for this group chat.
.manageable : boolean • readonly
Whether the client user can manage this group.
.members : MemberManager
The member manager for this group.
.minKarma : number
Search for, cache, and perform actions on friends.
Edit the details of this group chat. (requires you to be the founder)
Name | Type | Optional |
---|---|---|
options | object | Yes |
Join this dialogue.
.resetSpamReport() : Promise<unknown>
Not sure what this does.
.sendComplaint(userId, messageId) : boolean
Send a complain about a message sent by another user.
Name | Type | Optional |
---|---|---|
userId | string | No |
messageId | string | No |
Set the human-link for this group chat.
Name | Type | Optional |
---|---|---|
vanity | string | No |
Set the chat filters for this chat.
Name | Type | Optional |
---|---|---|
filters | Array | No |
Set the info for this chat.
Name | Type | Optional |
---|---|---|
options | object | Yes |
Set the chat mood for this chat.
Name | Type | Optional |
---|---|---|
moodId | string | No |
Set the name for this chat.
Name | Type | Optional |
---|---|---|
name | string | No |
Unset the human-link for this chat.
Update the details of this group chat. (requires you to be the founder)
Name | Type | Optional |
---|---|---|
options | object | Yes |
Update the chat filters for this chat.
Name | Type | Optional |
---|---|---|
options | Array | Yes |
Update the info for this chat.
Name | Type | Optional |
---|---|---|
options | object | Yes |