feat: send list and buttons

This commit is contained in:
Davidson Gomes
2024-10-18 15:34:22 -03:00
parent 1787238c63
commit da77af5bd1
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import { InstanceDto } from '@api/dto/instance.dto';
import {
SendAudioDto,
SendButtonDto,
SendButtonsDto,
SendContactDto,
SendListDto,
SendLocationDto,
@@ -56,7 +56,7 @@ export class SendMessageController {
}
}
public async sendButtons({ instanceName }: InstanceDto, data: SendButtonDto) {
public async sendButtons({ instanceName }: InstanceDto, data: SendButtonsDto) {
return await this.waMonitor.waInstances[instanceName].buttonMessage(data);
}