# Nakordoni + Telegram

Запреты для грузовиков, праздничные и летние запреты как готовые посты в вашем Telegram-канале. Добавьте нашего бота администратором и выберите страны, язык и время. Без API-ключа, без кода.

Бесплатный план: 1 канал, 3 поста в день, атрибуция обязательна (стиль выбираете вы). Платные планы: больше каналов и постов, атрибуцию можно отключить.

## Which bot posts

- Your own bot (available now): create a bot in @BotFather, paste its Bot Token in the dashboard, add the bot to your channel as an admin with only the «Post messages» right. Posts appear under your bot name. https://nakordoni.eu/ru/developers/dashboard#tg-bot-token
- Shared Nakordoni bot: add our bot to your channel, no token needed.

## Готовые шаблоны

- **Когда:** Каждую пятницу в 18:00 → публиковать запреты на выходные для выбранных стран (`weekend_bans`)

- **Когда:** На моём маршруте появляется новое перекрытие дороги → публиковать его в канал (Скоро) (`closure_new`)

- **Когда:** Очередь на границе дольше N часов → публиковать предупреждение (Скоро) (`border_queue`)

- **Когда:** Завтра день летнего запрета (например, Германия, субботы в июле и августе) → публиковать напоминание (`season_bans`)

- **Когда:** Завтра праздничный запрет для грузовиков → публиковать запреты (`holiday_tomorrow`)

- **Когда:** Каждый день в ваше время → публиковать запреты на сегодня и завтра (`daily_digest`)

- **Когда:** На моём маршруте падает цена топлива → публиковать новую цену (Скоро) (`fuel_drop`)

## Image cards (8 types)

Picture posts made by our Media Generator, with a short caption. Same image sizes, themes and 25 languages as /media. Set them up in the bot: /settings → Image cards → type → parameters → language → trigger → Draft or Auto.

| Card | Family | What it shows |
|---|---|---|
| `crossing` | Border queue | Live queue at one crossing, with the typical queue for this hour. |
| `corridor` | Border queue | Queue table for one direction: every crossing, longest wait first. |
| `forecast` | Border queue | Queue forecast for one crossing: next 6 h, 24 h or 7 days, with peak and lowest. |
| `whentogo` | Border queue | Best time to cross: typical queue by weekday and hour. |
| `ban_country` | Truck bans | One country: truck ban windows today, tomorrow and at the weekend, with the holiday reason. |
| `ban_weekend` | Truck bans | Several countries (you pick them): truck bans for the coming weekend in one table. |
| `ban_holiday` | Truck bans | Truck bans on public holidays in the next 7 or 14 days. |
| `ban_summer_de` | Truck bans | Germany: summer Saturday truck bans for the season dates. |

### Image card triggers

- `schedule` — every day, on one weekday, or every 2 hours, at the time you set (channel time zone). All cards.
- `level_change` — when the queue level at the crossing changes (free / busy / heavy / closed). Queue cards only. The first reading is the baseline; a minimum interval per plan applies.
- `ban_tomorrow` — the day before a truck ban, at the time you set; once per channel and date. Ban cards only.
- Draft mode sends the card to you first (Publish / Edit / Skip); Auto mode posts it to the channel.

## Подключение шаг за шагом

1. **Аккаунт** — Чтобы подключить канал, зарегистрируйтесь или войдите. Достаточно бесплатного аккаунта разработчика. https://nakordoni.eu/ru/developers/signup?next=integrations-telegram

2. **Подключите приложение** — Самый быстрый способ: добавьте нашего бота в свой канал. Посты приходят от вашего собственного бота. Создайте его в @BotFather и вставьте токен.

3. **Канал** — Telegram откроет нашего бота. Нажмите Start, затем «Добавить в мой канал», выберите канал и дайте боту только право «Публикация сообщений».

4. **Настройка** — В боте выберите страны, темы, язык, время и стиль атрибуции (/settings).

5. **Тест** — Отправьте себе тестовый пост: он придёт как черновик только вам.

6. **Включено** — Оставьте режим «Черновик», чтобы одобрять каждый пост (Опубликовать / Изменить / Пропустить), или переключитесь на «Авто». /pause и /resume работают в любое время.

## Триггеры · Действия

- Каждую пятницу в 18:00
- На моём маршруте появляется новое перекрытие дороги
- Очередь на границе дольше N часов
- Завтра день летнего запрета (например, Германия, субботы в июле и августе)
- Завтра праздничный запрет для грузовиков
- Каждый день в ваше время
- На моём маршруте падает цена топлива

- Публиковать в ваш Telegram-канал
- Сначала присылать вам черновик на одобрение (Опубликовать / Изменить / Пропустить)
- Публиковать от имени вашего бота (токен от @BotFather)

## Plan limits

| | Explorer | Student | Starter | Business | Other paid plans |
|---|---|---|---|---|---|
| Channels | 1 | 1 | 3 | 50 | 10 |
| Text posts per channel per day | 3 | 3 | 12 | 48 | 24 |
| Own bots | 1 | 1 | 1 | 10 | 3 |
| Attribution can be off | no | no | yes | yes | yes |
| Image cards per channel per day | 4 | 4 | 8 | 48 | 24 |
| Image cards per account per day | 4 | 6 | 24 | 600 | 120 |
| Queue-level card: minimum interval (min) | 60 | 60 | 30 | 15 | 20 |
| Queue-level cards per channel per day | 2 | 2 | 4 | 16 | 8 |

Image cards are counted separately from text posts. Free plans: Explorer and Student.

## Атрибуция

Каждый пост содержит одну видимую ссылку на соответствующую страницу Nakordoni в выбранном вами стиле: A1 ссылка внизу, A2 кнопка под постом, A3 метка источника, A4 водяной знак на изображениях карты, A5 ваш текст со словом «nakordoni», A6 упоминание в описании канала или закреплённом посте.

| Style | What the post shows |
|---|---|
| A1 | Footer line «Data: nakordoni.eu» with a link (top or bottom). Default. |
| A2 | Inline button under the post that opens the Nakordoni map page. |
| A3 | Source tag «nakordoni ·» with a link before or after the text. |
| A4 | Watermark on our image card. Only for posts with our image; text posts fall back to A1. |
| A5 | Your own short text (up to 60 characters) that contains «nakordoni», linked to our page. Invalid text falls back to A1. |
| A6 | Channel-level credit: a nakordoni.eu link in the channel description or a pinned post; posts stay clean. |

Free plan: attribution is required (you choose the style). Paid plans may choose «none». Position (top / bottom) is selectable for A1, A3 and A5.

### Where the link goes

The link goes to our matching topic page in the post language, never the home page. UTM: utm_source=telegram, utm_medium=<product>, utm_campaign=<account>. If the page does not exist in that language, the English page is used.

- Truck bans (several countries): `https://nakordoni.eu/{lang}/for_truck_drivers/traffic_bans`
- Truck bans, one country: `https://nakordoni.eu/{lang}/for_truck_drivers/traffic_bans/{country}` (germany, czech-republic, …)
- Germany summer Saturday bans: `https://nakordoni.eu/{lang}/for_truck_drivers/summer_bans_germany`
- Border queue cards: the public page of that crossing or direction.

## Logo on image cards (paid plans)

- Nakordoni logo: default, and the only option on the free plan.
- Your own logo (paid plans): upload PNG, JPEG or WebP in the dashboard (no SVG, up to 1 MB); we re-encode it on our server.
- No logo (paid plans).
- On the Media Generator page, «Own logo» and «No logo» are for downloads only. Embed links always show the Nakordoni logo.
- The logo choice does not change the attribution rules above.

## While your country application is under review

Ваша заявка по странам на рассмотрении. Вы уже можете работать: используйте свой API-ключ, Sandbox, виджеты, Home Assistant, Telegram или любую интеграцию. Пока мы рассматриваем заявку, дополнительных ограничений нет — обычные лимиты вашего тарифа остаются прежними.

## Свой бот

Хотите, чтобы посты шли от вашего бота? Создайте его в @BotFather и подключите токен в кабинете. https://nakordoni.eu/ru/developers/dashboard#tg-bot-token

## Links

- Page: https://nakordoni.eu/ru/developers/integrations/telegram
- Зарегистрироваться бесплатно: https://nakordoni.eu/ru/developers/signup?next=integrations-telegram
- All integrations: https://nakordoni.eu/api/v1/integrations.md
