|
|
|
|
@ -2396,6 +2396,9 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
|
|
|
|
if (!message_->author_signature.empty()) {
|
|
|
|
|
object("author_signature", message_->author_signature);
|
|
|
|
|
}
|
|
|
|
|
if (message_->sender_boost_count != 0) {
|
|
|
|
|
object("sender_boost_count", message_->sender_boost_count);
|
|
|
|
|
}
|
|
|
|
|
if (message_->sender_chat_id != 0) {
|
|
|
|
|
object("sender_chat", JsonChat(message_->sender_chat_id, client_));
|
|
|
|
|
}
|
|
|
|
|
@ -12810,6 +12813,7 @@ Client::FullMessageId Client::add_message(object_ptr<td_api::message> &&message,
|
|
|
|
|
message_info->can_be_saved = message->can_be_saved_;
|
|
|
|
|
message_info->is_topic_message = message->is_topic_message_;
|
|
|
|
|
message_info->author_signature = std::move(message->author_signature_);
|
|
|
|
|
message_info->sender_boost_count = message->sender_boost_count_;
|
|
|
|
|
|
|
|
|
|
drop_internal_reply_to_message_in_another_chat(message);
|
|
|
|
|
|
|
|
|
|
|