feat: confirmation while attempting to send sticker (changeable in settings)

This commit is contained in:
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
2023-06-22 16:32:20 +03:00
parent 7450d3fc4d
commit a1aac455db
6 changed files with 77 additions and 7 deletions
+1
View File
@@ -366,6 +366,7 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
const auto itemId = item->id;
const auto topicRootId = item->topicRootId();
const auto history = item->history();
controller->show(Ui::MakeConfirmBox({
.text = tr::lng_bot_share_phone(),
.confirmed = [=] {