@@ -124,6 +124,12 @@ class Message extends TelegramTypes
124
124
*/
125
125
public $ edit_date = 0 ;
126
126
127
+ /**
128
+ * Optional. True, if the message can't be forwarded
129
+ * @var bool
130
+ */
131
+ public $ has_protected_content = false ;
132
+
127
133
/**
128
134
* Optional. The unique identifier of a media message group this message belongs to
129
135
* @var string
@@ -211,6 +217,13 @@ class Message extends TelegramTypes
211
217
*/
212
218
public $ caption_entities = [];
213
219
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
+
214
227
/**
215
228
* Optional. Message is a shared contact, information about the contact
216
229
* @var Contact
@@ -325,6 +338,12 @@ class Message extends TelegramTypes
325
338
*/
326
339
public $ channel_chat_created = false ;
327
340
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
+
328
347
/**
329
348
* Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater
330
349
* 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
361
380
*/
362
381
public $ successful_payment ;
363
382
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
+
364
395
/**
365
396
* Optional. The domain name of the website on which the user has logged in
366
397
* @see https://core.telegram.org/widgets/login
367
398
* @var string
368
399
*/
369
400
public $ connected_website = '' ;
370
401
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
+
371
414
/**
372
415
* Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live
373
416
* Location
@@ -399,6 +442,48 @@ class Message extends TelegramTypes
399
442
*/
400
443
public $ forum_topic_reopened ;
401
444
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
+
402
487
/**
403
488
* @var Markup
404
489
*/
0 commit comments