# Схема: create\_session: inputSchema

Source: <https://telegafirst.com/docs/schema-f1ac04fd5846afa88bf569cdd215aa0862aafab6eaa3e22fdf511e32e0f574fd>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: 8747de9ec63b6d5b2549387e900e5f577a44e2855e617c3226e263db711b6c09
Version: 4

# Схема: create\_session: inputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.bot.description | "Optional slug of the bot you expect to act on (get\_active\_bot). If the active bot differs, the call is refused with ACTIVE\_BOT\_CHANGED and nothing runs." |
| properties.bot.maxLength | 128 |
| properties.bot.minLength | 1 |
| properties.bot.type | "string" |
| properties.external\_user\_id.description | "Value for external user id." |
| properties.external\_user\_id.maxLength | 128 |
| properties.external\_user\_id.minLength | 1 |
| properties.external\_user\_id.type | "string" |
| properties.login\_session\_id.description | "Value for login session id." |
| properties.login\_session\_id.maxLength | 128 |
| properties.login\_session\_id.minLength | 1 |
| properties.login\_session\_id.type | "string" |
| properties.metadata.additionalProperties | {} |
| properties.metadata.description | "Value for metadata." |
| properties.metadata.propertyNames.type | "string" |
| properties.metadata.type | "object" |
| properties.product\_id.description | "Value for product id." |
| properties.product\_id.maximum | 2147483647 |
| properties.product\_id.minimum | 1 |
| properties.product\_id.type | "integer" |
| properties.redirect\_url.description | "Value for redirect url." |
| properties.redirect\_url.format | "uri" |
| properties.redirect\_url.maxLength | 2048 |
| properties.redirect\_url.type | "string" |
| properties.type.description | "Value for type." |
| properties.type.enum | \["LOGIN","LINK","OPEN\_BILLING","PAY\_PRODUCT","OPEN\_SUPPORT"] |
| properties.type.type | "string" |
| required | \["type"] |
| type | "object" |
