# Схема: send\_notification: inputSchema

Source: <https://telegafirst.com/docs/schema-f368107ce54b4e7b1955b1dd079883d2af876883d50e8a843ad33c541fee91ef>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: d5b3295c3a260a6fbb3d750f02c1a1594237eb9aa73369af8dcefe0cec4d193c
Version: 1

# Схема: send\_notification: 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.buttons.description | "Up to 3 rows of up to 3 url buttons; they work on every messenger and are copied to the Open Lines topic." |
| properties.buttons.items.description | "Value for buttons item." |
| properties.buttons.items.items.additionalProperties | false |
| properties.buttons.items.items.description | "Value for buttons item item." |
| properties.buttons.items.items.properties.text.description | "Value for text." |
| properties.buttons.items.items.properties.text.maxLength | 30 |
| properties.buttons.items.items.properties.text.type | "string" |
| properties.buttons.items.items.properties.type.const | "url" |
| properties.buttons.items.items.properties.type.description | "Value for type." |
| properties.buttons.items.items.properties.type.type | "string" |
| properties.buttons.items.items.properties.url.description | "Value for url." |
| properties.buttons.items.items.properties.url.format | "uri" |
| properties.buttons.items.items.properties.url.type | "string" |
| properties.buttons.items.items.required | \["text","type","url"] |
| properties.buttons.items.items.type | "object" |
| properties.buttons.items.maxItems | 3 |
| properties.buttons.items.type | "array" |
| properties.buttons.maxItems | 3 |
| properties.buttons.type | "array" |
| properties.idempotency\_key.description | "Repeating a key within your app returns the same notification\_id and does not queue a second push while the first one is still known to the queue." |
| properties.idempotency\_key.maxLength | 255 |
| properties.idempotency\_key.type | "string" |
| properties.media.additionalProperties | false |
| properties.media.description | "Value for media." |
| properties.media.properties.caption.description | "Value for caption." |
| properties.media.properties.caption.maxLength | 1024 |
| properties.media.properties.caption.type | "string" |
| properties.media.properties.type.description | "Value for type." |
| properties.media.properties.type.enum | \["photo","document","video"] |
| properties.media.properties.type.type | "string" |
| properties.media.properties.url.description | "Value for url." |
| properties.media.properties.url.format | "uri" |
| properties.media.properties.url.type | "string" |
| properties.media.required | \["type","url"] |
| properties.media.type | "object" |
| properties.parse\_mode.anyOf.0.description | "Value for parse mode option." |
| properties.parse\_mode.anyOf.0.enum | \["HTML","Markdown"] |
| properties.parse\_mode.anyOf.0.type | "string" |
| properties.parse\_mode.anyOf.1.description | "Value for parse mode option." |
| properties.parse\_mode.anyOf.1.type | "null" |
| properties.parse\_mode.description | "Value for parse mode." |
| properties.text.description | "Message text, delivered to the user's private chat on the messenger they use (Telegram, MAX or VK), with a copy in the user's Open Lines topic." |
| properties.text.maxLength | 4096 |
| properties.text.minLength | 1 |
| properties.text.type | "string" |
| properties.user\_seq\_id.description | "Per-client user number (seq\_num) of the recipient, as listed by the users API." |
| properties.user\_seq\_id.exclusiveMinimum | 0 |
| properties.user\_seq\_id.maximum | 2147483647 |
| properties.user\_seq\_id.type | "integer" |
| required | \["user\_seq\_id","text"] |
| type | "object" |
