fix: remove unreliable return values for new mute state
This commit is contained in:
parent
4beeab9b2c
commit
44f837c42a
1 changed files with 4 additions and 9 deletions
|
|
@ -115,7 +115,6 @@ class Chat extends Base {
|
|||
/**
|
||||
* Mutes this chat until a specified date
|
||||
* @param {Date} unmuteDate Date at which the Chat will be unmuted
|
||||
* @returns {Promise<Boolean>} new mute state
|
||||
*/
|
||||
async mute(unmuteDate) {
|
||||
return this.client.muteChat(this.id._serialized, unmuteDate);
|
||||
|
|
@ -123,7 +122,6 @@ class Chat extends Base {
|
|||
|
||||
/**
|
||||
* Unmutes this chat
|
||||
* @returns {Promise<Boolean>} new mute state
|
||||
*/
|
||||
async unmute() {
|
||||
return this.client.unmuteChat(this.id._serialized);
|
||||
|
|
|
|||
Loading…
Reference in a new issue