@waboyz-baileys/shared
Version:
11 lines (10 loc) • 459 B
TypeScript
import type { Empty } from "../proto/google/protobuf/empty.js";
import type { ActionClearUnreadCount, ActionSendMessage, ActionUploadMediaFromWa, TopicsInput } from "../proto/wag.js";
export interface GrpcMasterToWorkerActions {
'send.message': ActionSendMessage;
'clear.unread-count': ActionClearUnreadCount;
'upload.media-from-wa': ActionUploadMediaFromWa;
'fetch.pps': Empty;
'subscribe': TopicsInput;
'unsubscribe': TopicsInput;
}