def METHOD_NAME(self, message_id, action_id):
    for message in Application.getInstance().getVisibleMessages():
        if str(id(message)) == message_id:
            message.METHOD_NAME.emit(message, action_id)
            break