diff --git a/src/Objects/Message.php b/src/Objects/Message.php index ce49dc51..19198128 100644 --- a/src/Objects/Message.php +++ b/src/Objects/Message.php @@ -74,8 +74,9 @@ public function relations() 'entities' => MessageEntity::class, 'caption_entities' => MessageEntity::class, 'audio' => Audio::class, - 'document' => Document::class, + 'dice' => Dice::class, 'animation' => Animation::class, + 'document' => Document::class, 'game' => Game::class, 'photo' => PhotoSize::class, 'sticker' => Sticker::class, @@ -86,9 +87,11 @@ public function relations() 'location' => Location::class, 'venue' => Venue::class, 'poll' => Poll::class, + 'new_chat_member' => ChatMember::class, 'new_chat_members' => User::class, 'left_chat_member' => User::class, 'new_chat_photo' => PhotoSize::class, + 'delete_chat_photo' => ChatPhoto::class, 'pinned_message' => self::class, 'invoice' => Invoice::class, 'successful_payment' => SuccessfulPayment::class, @@ -123,6 +126,9 @@ public function detectType() $types = [ 'text', 'audio', + 'animation', + 'dice', + 'invoice', 'document', 'game', 'photo', @@ -135,6 +141,7 @@ public function detectType() 'venue', 'poll', 'new_chat_member', + 'new_chat_members', 'left_chat_member', 'new_chat_title', 'new_chat_photo',