mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-16 12:51:24 +00:00
Add Message.giveaway_created.
This commit is contained in:
parent
b81f8065d7
commit
6a5393a925
@ -2330,6 +2330,7 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
||||
case td_api::messagePremiumGiftCode::ID:
|
||||
break;
|
||||
case td_api::messagePremiumGiveawayCreated::ID:
|
||||
object("giveaway_created", JsonEmptyObject());
|
||||
break;
|
||||
case td_api::messagePremiumGiveaway::ID:
|
||||
break;
|
||||
@ -11106,6 +11107,7 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
||||
case td_api::messageForumTopicEdited::ID:
|
||||
case td_api::messageForumTopicIsClosedToggled::ID:
|
||||
case td_api::messageForumTopicIsHiddenToggled::ID:
|
||||
case td_api::messagePremiumGiveawayCreated::ID:
|
||||
// don't skip
|
||||
break;
|
||||
default:
|
||||
@ -11216,8 +11218,6 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
||||
return true;
|
||||
case td_api::messagePremiumGiftCode::ID:
|
||||
return true;
|
||||
case td_api::messagePremiumGiveawayCreated::ID:
|
||||
return true;
|
||||
case td_api::messagePremiumGiveaway::ID:
|
||||
return true;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user