## Request location sharing

`chats.location.request(strchat_id)  -> LocationRequestResponse`

**post** `/v3/chats/{chatId}/location/request`

Send a location sharing request to a contact. They will receive an iMessage
prompt asking them to share their location.

Location requests only work in **1:1 iMessage chats** (Apple limitation).
Attempting to request location in a group chat, or in an SMS or RCS chat,
returns `409` (Operation not supported on this chat's service type).

### Parameters

- `chat_id: str`

### Returns

- `class LocationRequestResponse: …`

  - `message: str`

  - `success: bool`

### Example

```python
import os
from linq import LinqAPIV3

client = LinqAPIV3(
    api_key=os.environ.get("LINQ_API_V3_API_KEY"),  # This is the default and can be omitted
)
location_request_response = client.chats.location.request(
    "975d0776-bd17-4273-8337-f346b4c661b0",
)
print(location_request_response.message)
```

#### Response

```json
{
  "success": true,
  "message": "Location request sent"
}
```
