diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index e72e03ad7..853d90119 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -3024,6 +3024,14 @@ void HistoryWidget::updateControlsVisibility() { } else if (isBotStart()) { toggle(_botStart); _discuss->hide(); + + const auto startToken = _peer->asUser()->botInfo->startToken; + if (!startToken.isEmpty()) { + const auto s = QString("%1 (%2)").arg(tr::lng_bot_start(tr::now).toUpper()).arg(startToken); + _botStart->setText(s); + } else { + _botStart->setText(tr::lng_bot_start(tr::now).toUpper()); + } } _kbShown = false; _fieldAutocomplete->hide();