mirror of
https://github.com/tdlib/telegram-bot-api
synced 2025-09-02 15:25:30 +00:00
Don't store empty chat_type.
This commit is contained in:
@@ -1941,7 +1941,9 @@ class Client::JsonInlineQuery : public Jsonable {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
object("chat_type", chat_type);
|
if (chat_type[0] != '\0') {
|
||||||
|
object("chat_type", chat_type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
object("query", query_);
|
object("query", query_);
|
||||||
object("offset", offset_);
|
object("offset", offset_);
|
||||||
|
Reference in New Issue
Block a user