Fix type of emoji_status_custom_emoji_id.

This commit is contained in:
levlam 2022-11-07 00:59:20 +03:00
parent 571baeead0
commit 0ddf9a460d

View File

@ -676,7 +676,7 @@ class Client::JsonChat final : public Jsonable {
[](Slice username) { return td::JsonString(username); }));
}
if (user_info->emoji_status_custom_emoji_id != 0) {
object("emoji_status_custom_emoji_id", user_info->emoji_status_custom_emoji_id);
object("emoji_status_custom_emoji_id", td::to_string(user_info->emoji_status_custom_emoji_id));
}
if (!user_info->bio.empty()) {
object("bio", user_info->bio);