mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-05 19:47:20 +01:00
Add Message.giveaway_created.
This commit is contained in:
parent
8fe04fc33a
commit
80406b7028
@ -2448,6 +2448,7 @@ void Client::JsonMessage::store(td::JsonValueScope *scope) const {
|
|||||||
case td_api::messagePremiumGiftCode::ID:
|
case td_api::messagePremiumGiftCode::ID:
|
||||||
break;
|
break;
|
||||||
case td_api::messagePremiumGiveawayCreated::ID:
|
case td_api::messagePremiumGiveawayCreated::ID:
|
||||||
|
object("giveaway_created", JsonEmptyObject());
|
||||||
break;
|
break;
|
||||||
case td_api::messagePremiumGiveaway::ID:
|
case td_api::messagePremiumGiveaway::ID:
|
||||||
break;
|
break;
|
||||||
@ -12501,6 +12502,7 @@ bool Client::need_skip_update_message(int64 chat_id, const object_ptr<td_api::me
|
|||||||
case td_api::messageForumTopicEdited::ID:
|
case td_api::messageForumTopicEdited::ID:
|
||||||
case td_api::messageForumTopicIsClosedToggled::ID:
|
case td_api::messageForumTopicIsClosedToggled::ID:
|
||||||
case td_api::messageForumTopicIsHiddenToggled::ID:
|
case td_api::messageForumTopicIsHiddenToggled::ID:
|
||||||
|
case td_api::messagePremiumGiveawayCreated::ID:
|
||||||
// don't skip
|
// don't skip
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -12611,8 +12613,6 @@ 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::messagePremiumGiveawayCreated::ID:
|
|
||||||
return true;
|
|
||||||
case td_api::messagePremiumGiveaway::ID:
|
case td_api::messagePremiumGiveaway::ID:
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user