def webhook_request(
    response_id,
    session,
    intent_id,
    text,
    title,
    subtitle,
    image_url,
    buttons,
    payload,
    quick_replies
):
    """Return a sample WebhookRequest dictionary."""
    project_id = 'PROJECT_ID'

    return {
        'responseId': response_id,
        'queryResult': {
            'queryText': 'Hi',
            'parameters': {},
            'allRequiredParamsPresent': True,
            'fulfillmentText': 'Hello! How can I help you?',
            'fulfillmentMessages': [
                {'text': {'text': [text]}},
                {'image': {'imageUri': image_url}},
                {
                    'card': {
                        'title': title,
                        'subtitle': subtitle,
                        'imageUri': image_url,
                        'buttons': buttons
                    }
                },
                {'payload': payload},
                {'quickReplies': {'quickReplies': quick_replies}}
            ],
            'outputContexts': [
                {
                    'name': f'projects/{project_id}/agent/sessions/{session}/contexts/__system_counters__',  # noqa: E501
                    'parameters': {
                        'no-input': 0,
                        'no-match': 0
                    }
                }
            ],
            'intent': {
                'name': f'projects/{project_id}/agent/intents/{intent_id}',
                'displayName': 'Default Welcome Intent'
            },
            'intentDetectionConfidence': 1,
            'languageCode': 'en'
        },
        'originalDetectIntentRequest': {
            'payload': {},
        },
        'session': f'projects/{project_id}/agent/sessions/{session}'
    }