parent
e717915f94
commit
a098d61b03
7 changed files with 162 additions and 27 deletions
|
|
@ -26,11 +26,12 @@ class Chat extends Base {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sends a message to this chat.
|
||||
* @param {string} message
|
||||
* Send a message to this chat
|
||||
* @param {string|MessageMedia} content
|
||||
* @param {object} options
|
||||
*/
|
||||
async sendMessage(message) {
|
||||
return this.client.sendMessage(this.id._serialized, message);
|
||||
async sendMessage(content, options) {
|
||||
return this.client.sendMessage(this.id._serialized, content, options);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue