mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-23 12:36:51 +01:00
Fix media_group_id of messages automatically forwarded to discussion group.
This commit is contained in:
parent
72b3f6ea4d
commit
81b2334a31
@ -1508,7 +1508,7 @@ void Client::JsonMessage::store(JsonValueScope *scope) const {
|
|||||||
<< message_->chat_id << " while storing " << source_ << " " << message_->id;
|
<< message_->chat_id << " while storing " << source_ << " " << message_->id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (message_->media_album_id > 0) {
|
if (message_->media_album_id != 0) {
|
||||||
object("media_group_id", td::to_string(message_->media_album_id));
|
object("media_group_id", td::to_string(message_->media_album_id));
|
||||||
}
|
}
|
||||||
switch (message_->content->get_id()) {
|
switch (message_->content->get_id()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user