mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-29 06:05:50 +01:00
Fix type of emoji_status_custom_emoji_id.
This commit is contained in:
parent
571baeead0
commit
0ddf9a460d
@ -676,7 +676,7 @@ class Client::JsonChat final : public Jsonable {
|
|||||||
[](Slice username) { return td::JsonString(username); }));
|
[](Slice username) { return td::JsonString(username); }));
|
||||||
}
|
}
|
||||||
if (user_info->emoji_status_custom_emoji_id != 0) {
|
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()) {
|
if (!user_info->bio.empty()) {
|
||||||
object("bio", user_info->bio);
|
object("bio", user_info->bio);
|
||||||
|
Loading…
Reference in New Issue
Block a user