mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-14 07:42:27 -06:00
feat(endpoint): move setPresence endpoint to instance
This commit is contained in:
@@ -110,10 +110,6 @@ export class SendPresenceDto extends Metadata {
|
||||
};
|
||||
}
|
||||
|
||||
export class SetPresenceDto {
|
||||
presence: WAPresence;
|
||||
}
|
||||
|
||||
export class UpdateMessageDto extends Metadata {
|
||||
number: string;
|
||||
key: proto.IMessageKey;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { WAPresence } from "@whiskeysockets/baileys";
|
||||
|
||||
export class InstanceDto {
|
||||
instanceName: string;
|
||||
instanceId?: string;
|
||||
@@ -40,3 +42,7 @@ export class InstanceDto {
|
||||
typebot_listening_from_me?: boolean;
|
||||
proxy?: string;
|
||||
}
|
||||
|
||||
export class SetPresenceDto {
|
||||
presence: WAPresence;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user