feat: send pix button

This commit is contained in:
Davidson Gomes
2024-10-29 07:36:24 -03:00
parent 9f39ec2110
commit fce3e55e91
3 changed files with 133 additions and 6 deletions

View File

@@ -94,15 +94,21 @@ export class SendAudioDto extends Metadata {
audio: string;
}
export type TypeButton = 'reply' | 'copy' | 'url' | 'call';
export type TypeButton = 'reply' | 'copy' | 'url' | 'call' | 'pix';
export type KeyType = 'phone' | 'email' | 'cpf' | 'cnpj' | 'random';
export class Button {
type: TypeButton;
displayText: string;
displayText?: string;
id?: string;
url?: string;
copyCode?: string;
phoneNumber?: string;
currency?: string;
name?: string;
keyType?: KeyType;
key?: string;
}
export class SendButtonsDto extends Metadata {