@@ -124,6 +124,12 @@ class Message extends TelegramTypes
124124 */
125125 public $ edit_date = 0 ;
126126
127+ /**
128+ * Optional. True, if the message can't be forwarded
129+ * @var bool
130+ */
131+ public $ has_protected_content = false ;
132+
127133 /**
128134 * Optional. The unique identifier of a media message group this message belongs to
129135 * @var string
@@ -211,6 +217,13 @@ class Message extends TelegramTypes
211217 */
212218 public $ caption_entities = [];
213219
220+ /**
221+ * Optional. True, if the message media is covered by a spoiler animation
222+ * the caption
223+ * @var bool
224+ */
225+ public $ has_media_spoiler = false ;
226+
214227 /**
215228 * Optional. Message is a shared contact, information about the contact
216229 * @var Contact
@@ -325,6 +338,12 @@ class Message extends TelegramTypes
325338 */
326339 public $ channel_chat_created = false ;
327340
341+ /**
342+ * Optional. Service message: auto-delete timer settings changed in the chat
343+ * @see https://core.telegram.org/bots/api#messageautodeletetimerchanged @TODO
344+ */
345+ public $ message_auto_delete_timer_changed ;
346+
328347 /**
329348 * Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater
330349 * than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it smaller
@@ -361,13 +380,37 @@ class Message extends TelegramTypes
361380 */
362381 public $ successful_payment ;
363382
383+ /**
384+ * Optional. Service message: a user was shared with the bot
385+ * @see https://core.telegram.org/bots/api#usershared @TODO
386+ */
387+ public $ user_shared ;
388+
389+ /**
390+ * Optional. Service message: a chat was shared with the bot
391+ * @see https://core.telegram.org/bots/api#chatshared @TODO
392+ */
393+ public $ chat_shared ;
394+
364395 /**
365396 * Optional. The domain name of the website on which the user has logged in
366397 * @see https://core.telegram.org/widgets/login
367398 * @var string
368399 */
369400 public $ connected_website = '' ;
370401
402+ /**
403+ * Optional. Service message: the user allowed the bot added to the attachment menu to write messages
404+ * @see https://core.telegram.org/bots/api#writeaccessallowed @TODO
405+ */
406+ public $ write_access_allowed ;
407+
408+ /**
409+ * Optional. Telegram Passport data
410+ * @see https://core.telegram.org/bots/api#passportdata @TODO
411+ */
412+ public $ passport_data ;
413+
371414 /**
372415 * Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live
373416 * Location
@@ -399,6 +442,48 @@ class Message extends TelegramTypes
399442 */
400443 public $ forum_topic_reopened ;
401444
445+ /**
446+ * Optional. Service message: the 'General' forum topic hidden
447+ * @see https://core.telegram.org/bots/api#generalforumtopichidden @TODO
448+ */
449+ public $ general_forum_topic_hidden ;
450+
451+ /**
452+ * Optional. Service message: the 'General' forum topic unhidden
453+ * @see https://core.telegram.org/bots/api#generalforumtopicunhidden @TODO
454+ */
455+ public $ general_forum_topic_unhidden ;
456+
457+ /**
458+ * Optional. Service message: video chat scheduled
459+ * @see https://core.telegram.org/bots/api#videochatscheduled @TODO
460+ */
461+ public $ video_chat_scheduled ;
462+
463+ /**
464+ * Optional. Service message: video chat started
465+ * @see https://core.telegram.org/bots/api#videochatstarted @TODO
466+ */
467+ public $ video_chat_started ;
468+
469+ /**
470+ * Optional. Service message: video chat ended
471+ * @see https://core.telegram.org/bots/api#videochatended @TODO
472+ */
473+ public $ video_chat_ended ;
474+
475+ /**
476+ * Optional. Service message: new participants invited to a video chat
477+ * @see https://core.telegram.org/bots/api#videochatparticipantsinvited @TODO
478+ */
479+ public $ video_chat_participants_invited ;
480+
481+ /**
482+ * Optional. Service message: data sent by a Web App
483+ * @see https://core.telegram.org/bots/api#webappdata @TODO
484+ */
485+ public $ web_app_data ;
486+
402487 /**
403488 * @var Markup
404489 */
0 commit comments