import type { ActionMenuService } from '../services' import type { MessageHandler, MessageHandlerInboundMessage } from '@aries-framework/core' import { ActionMenuProblemReportMessage } from '../messages' /** * @internal */ export class ActionMenuProblemReportHandler implements MessageHandler { private actionMenuService: ActionMenuService public supportedMessages = [ActionMenuProblemReportMessage] public constructor(actionMenuService: ActionMenuService) { this.actionMenuService = actionMenuService } public async handle(messageContext: MessageHandlerInboundMessage) { await this.actionMenuService.processProblemReport(messageContext) } }