Updated comment flow #194

Merged
romanskijdev merged 1 commits from fix-permissions into main 2026-10-14 15:14:52 +03:00
1 changed files with 3 additions and 3 deletions

View File

@ -366,7 +366,7 @@ func BuildCommentVisibilityMenu() tgbotapi.InlineKeyboardMarkup {
return tgkit.NewInlineKeyboard().
Row(tgkit.Btn("📢 Отправить всем участникам", "comment_vis:all")).
Row(tgkit.Btn("👤 Выбрать конкретных", "comment_vis:specific")).
Row(tgkit.Btn("🔇 Просто дополнение (без уведомлений)", "comment_vis:silent")).
Row(tgkit.Btn("🔇 Заметка к заявке", "comment_vis:silent")).
Row(tgkit.BtnStyled(tgkit.ButtonStyleDanger, "Отмена", "comment_vis:cancel")).
Build()
}
@ -387,7 +387,7 @@ func BuildCommentTargetsMenu(participants []*typescore.User, selected map[uint64
kb.Row(tgkit.Btn(label, fmt.Sprintf("comment_tgt:%d", *p.ID)))
}
kb.Row(tgkit.BtnStyled(tgkit.ButtonStyleSuccess, "✅ Отправить выбранным", "comment_tgt_done"))
kb.Row(tgkit.BtnStyled(tgkit.ButtonStyleBack, "← Назад", "comment_tgt_back"))
kb.Row(tgkit.BtnStyled(tgkit.ButtonStyleSuccess, "Отправить выбранным", "comment_tgt_done"))
kb.Row(tgkit.BtnStyled(tgkit.ButtonStyleBack, "Назад", "comment_tgt_back"))
return kb.Build()
}