@@ -47,7 +47,9 @@ class Update extends BaseType implements TypeInterface
4747 'chat_member ' => ChatMemberUpdated::class,
4848 'chat_join_request ' => ChatJoinRequest::class,
4949 'message_reaction ' => MessageReactionUpdated::class,
50- 'message_reaction_count ' => MessageReactionCountUpdated::class
50+ 'message_reaction_count ' => MessageReactionCountUpdated::class,
51+ 'chat_boost ' => ChatBoostUpdated::class,
52+ 'chat_boost_removed ' => ChatBoostRemoved::class,
5153 ];
5254
5355 /**
@@ -180,6 +182,22 @@ class Update extends BaseType implements TypeInterface
180182 */
181183 protected $ messageReactionCount ;
182184
185+ /**
186+ * Optional. A chat boost was added or changed.
187+ * The bot must be an administrator in the chat to receive these updates.
188+ *
189+ * @var ChatBoostUpdated|null
190+ */
191+ protected $ chatBoost ;
192+
193+ /**
194+ * Optional. A boost was removed from a chat.
195+ * The bot must be an administrator in the chat to receive these updates.
196+ *
197+ * @var ChatBoostRemoved|null
198+ */
199+ protected $ removedChatBoost ;
200+
183201 /**
184202 * @return int
185203 */
@@ -488,4 +506,38 @@ public function setMessageReactionCount(?MessageReactionCountUpdated $messageRea
488506 {
489507 $ this ->messageReactionCount = $ messageReactionCount ;
490508 }
509+
510+ /**
511+ * @return ChatBoostUpdated|null
512+ */
513+ public function getChatBoost ()
514+ {
515+ return $ this ->chatBoost ;
516+ }
517+
518+ /**
519+ * @param ChatBoostUpdated|null $chatBoost
520+ * @return void
521+ */
522+ public function setChatBoost ($ chatBoost )
523+ {
524+ $ this ->chatBoost = $ chatBoost ;
525+ }
526+
527+ /**
528+ * @return ChatBoostRemoved|null
529+ */
530+ public function getChatBoostRemoved ()
531+ {
532+ return $ this ->removedChatBoost ;
533+ }
534+
535+ /**
536+ * @param ChatBoostRemoved|null $removedChatBoost
537+ * @return void
538+ */
539+ public function setChatBoostRemoved ($ removedChatBoost )
540+ {
541+ $ this ->removedChatBoost = $ removedChatBoost ;
542+ }
491543}
0 commit comments