diff --git a/td/telegram/ReplyMarkup.cpp b/td/telegram/ReplyMarkup.cpp index 5336f3979..65ed10e4c 100644 --- a/td/telegram/ReplyMarkup.cpp +++ b/td/telegram/ReplyMarkup.cpp @@ -382,7 +382,9 @@ static Result get_inline_keyboard_button(tl_object_ptrin_current_chat_ ? "switch_inline_query_current_chat" : "switch_inline_query"; - return Status::Error(400, PSLICE() << "Can't use " << button_name << " in a channel chat"); + return Status::Error(400, PSLICE() << "Can't use " << button_name + << " in a channel chat, because a user will not be able to use the button " + "without knowing bot's username"); } current_button.type = switch_inline_button->in_current_chat_