# Class GenerateChatTokenRequest (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    GenerateChatTokenRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for
WidgetService.GenerateChatToken.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session} |
| `deployment` | `str` Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment} |
| `recaptcha_token` | `str` Optional. The reCAPTCHA token generated by the client-side chat widget. |
| `live_handoff_enabled` | `bool` Optional. Indicates if live handoff is enabled for the session. |