# Схема: CreateSessionResponse

Source: <https://telegafirst.com/docs/schema-1353cdb8536fe8d608a885e36295ffd6a93eb832371e14a462ece08705208324>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: fbfcfcd538dd1cbfba67deebf2e985f6f0b1dbd139b50ff5cbe3ebd44ffd5941
Version: 3

# Схема: CreateSessionResponse

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.bot.additionalProperties | false |
| properties.bot.properties.start\_token.type | "string" |
| properties.bot.properties.username.type | "string" |
| properties.bot.required | \["username","start\_token"] |
| properties.bot.type | "object" |
| properties.code.maxLength | 64 |
| properties.code.minLength | 1 |
| properties.code.type | "string" |
| properties.deeplink\_url.format | "uri" |
| properties.deeplink\_url.type | "string" |
| properties.expires\_at.format | "date-time" |
| properties.expires\_at.type | "string" |
| properties.session\_id.maxLength | 64 |
| properties.session\_id.minLength | 1 |
| properties.session\_id.type | "string" |
| properties.state.$ref | [ExternalSessionState](https://telegafirst.com/docs/schema-c34f8f65f295f24feb7b899edb7b61f2222251aa11eb4b63f004c9c01cf6601c) |
| properties.ws.additionalProperties | false |
| properties.ws.properties.protocol.type | "string" |
| properties.ws.properties.url.format | "uri" |
| properties.ws.properties.url.type | "string" |
| properties.ws.required | \["url","protocol"] |
| properties.ws.type | "object" |
| required | \["session\_id","state","deeplink\_url","code","expires\_at","bot","ws"] |
| type | "object" |
