sandbox/ivideon/puml/Crowd/notifications/9205_activity.puml

21 lines
711 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@startuml Telegram Subscription Management Activity
|PM Manager|
start
if (Действие?) then (Добавить связку)
:Ввести email и chat_id;
|API|
:Добавить запись в\ncrowd.telegram_subscriptions\n{"email": "...", "chat_id": ...};
|PM Manager|
:Добавить бота в Telegram чат\n(совместно с пользователем);
else (Удалить связку)
:Выбрать email для удаления;
|API|
:Удалить запись из\ncrowd.telegram_subscriptions;
endif
|Notification System|
:send_queue_overflow() отправляет\nуведомление в Telegram\nпо связке email → chat_id;
stop
@enduml