/** * Message type decorators for handling different message types */ /** * Decorator that executes on every message (regardless of command) * Useful for logging, monitoring, or general message processing */ export declare function OnMessage(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor; /** * Decorator that executes only on normal text messages (type 1) */ export declare const OnNormalMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on photo messages (type 2) */ export declare const OnPhotoMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on video messages (type 3) */ export declare const OnVideoMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on audio messages (type 5) */ export declare const OnAudioMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on emoticon messages (types 6, 12, 20, 25) */ export declare const OnEmoticonMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on map/location messages (type 16) */ export declare const OnMapMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on profile messages (type 17) */ export declare const OnProfileMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on file messages (type 18) */ export declare const OnFileMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on reply messages (type 26) */ export declare const OnReplyMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on multi-photo messages (type 27 - legacy) */ export declare const OnMultiPhotoMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on new multi-photo messages (type 71 - modern) */ export declare const OnNewMultiPhotoMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on any image messages (types 2, 27, 71) */ export declare const OnImageMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on feed messages */ export declare const OnFeedMessage: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on user invite feed messages */ export declare const OnInviteUserFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on user leave feed messages */ export declare const OnLeaveUserFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on open chat join feed messages */ export declare const OnOpenChatJoinUserFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on open chat kicked user feed messages */ export declare const OnOpenChatKickedUserFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on manager promotion feed messages */ export declare const OnPromoteManagerFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on manager demotion feed messages */ export declare const OnDemoteManagerFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on delete message feed messages */ export declare const OnDeleteMessageFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on host handover feed messages */ export declare const OnHandOverHostFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Decorator that executes only on hide message feed messages */ export declare const OnHideMessageFeed: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * Get all registered message handlers (OnMessage decorators) */ export declare function getMessageHandlers(controllerInstance: any): Function[]; /** * Get methods with @Command decorator from a controller instance */ export declare function getDecoratedMethods(controller: any): Function[]; //# sourceMappingURL=message.d.ts.map