|
|
|
@ -2816,6 +2816,8 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
|
|
|
object("giveaway_completed", JsonGiveawayCompleted(content, message_->chat_id, client_));
|
|
|
|
object("giveaway_completed", JsonGiveawayCompleted(content, message_->chat_id, client_));
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
case td_api::messageChatBoost::ID:
|
|
|
|
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
UNREACHABLE();
|
|
|
|
UNREACHABLE();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -12347,6 +12349,8 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
case td_api::messagePremiumGiftCode::ID:
|
|
|
|
case td_api::messagePremiumGiftCode::ID:
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
case td_api::messageChatBoost::ID:
|
|
|
|
|
|
|
|
return true;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|