export Class
ChatJoinRequest ​
extends ​
BaseClass
<ChatJoinRequest
, ChatJoinRequestPacket
>
Constructor ​
ts
new ChatJoinRequest( client, packet )
Parameter | Type | Description |
---|---|---|
client | Client | |
packet | ChatJoinRequestPacket |
Properties ​
get chat : Chat
​
get manager : ChatRequestsManager
​
get user : User
​
_chat : number
​
_from : number
​
readonly client : Client
​
Methods ​
asyncapprove( ) ​
Approves the join request.
Returns:
Promise
<boolean
>
asyncdecline( ) ​
Rejects the join request.
Returns:
Promise
<boolean
>