mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-19 11:52:20 -06:00
feat: send pix button
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user