Skip to content

Commit

Permalink
Fix SetBotInfoQuery.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Apr 21, 2023
1 parent 8517026 commit 328b864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td/telegram/BotInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ class SetBotInfoQuery final : public Td::ResultHandler {
explicit SetBotInfoQuery(Promise<Unit> &&promise) : promise_(std::move(promise)) {
}

void send(UserId bot_user_id, const string &language_code, bool set_name, const string &name, bool set_about,
const string &about, bool set_description, const string &description) {
void send(UserId bot_user_id, const string &language_code, bool set_name, const string &name, bool set_description,
const string &description, bool set_about, const string &about) {
int32 flags = 0;
if (set_name) {
flags |= telegram_api::bots_setBotInfo::NAME_MASK;
Expand Down

0 comments on commit 328b864

Please sign in to comment.