evolution-api-sdk
Version:
Unofficial SDK for the Evolution Whatsapp API v2
78 lines (76 loc) • 1.91 kB
TypeScript
declare const Routes: {
Message: {
SendText: string;
SendMedia: string;
SendVoice: string;
SendSticker: string;
SendLocation: string;
SendContact: string;
SendPoll: string;
SendReaction: string;
SendTemplate: string;
SendStatus: string;
SendList: string;
};
Chats: {
Check: string;
FindAll: string;
SendPresence: string;
MarkAsRead: string;
MarkAsUnread: string;
Archive: string;
DeleteMessage: string;
FetchProfilePicture: string;
FindContacts: string;
FindMessages: string;
FindStatusMessage: string;
UpdateMessage: string;
};
Groups: {
FindAll: string;
FindByJid: string;
FindByInviteCode: string;
Create: string;
UpdatePicture: string;
UpdateSubject: string;
UpdateDescription: string;
FetchInviteCode: string;
AcceptInviteCode: string;
RevokeInviteCode: string;
SendGroupInvite: string;
FindMembers: string;
UpdateMembers: string;
UpdateSetting: string;
ToggleEphemeral: string;
Leave: string;
};
Profile: {
FetchBusinessProfile: string;
FetchProfile: string;
UpdateName: string;
UpdateStatus: string;
UpdatePicture: string;
RemovePicture: string;
FetchPrivacySettings: string;
UpdatePrivacySettings: string;
};
Webhook: {
Set: string;
Find: string;
};
Settings: {
Set: string;
Find: string;
};
Instance: {
Create: string;
FetchAll: string;
Connect: string;
Restart: string;
ConnectionState: string;
Logout: string;
Delete: string;
SetPresence: string;
};
};
export { Routes };