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

Source: <https://telegafirst.com/docs/schema-f1ac04fd5846afa88bf569cdd215aa0862aafab6eaa3e22fdf511e32e0f574fd>
Locale: ru
releaseGitSha: 005a4dc9d76f69a0815df4e3f98b9050d4d46afb
sourceContentDigest: 8a86f196ecb4269694163554b5ca478e9561df40c948c676ccdd59a5ff6e8424
Version: 9

# Схема: 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" |
