UpdateType::CommentEdited->value, 'timestamp' => 1678886400000, 'message' => [ 'timestamp' => 1678886400000, 'body' => ['mid' => 'mid.comment', 'seq' => 5, 'text' => 'Nice post'], 'recipient' => ['chat_type' => 'channel', 'chat_id' => -100], ], ]); $this->assertSame(UpdateType::CommentEdited, $update->updateType); $this->assertSame(1678886400000, $update->timestamp); $this->assertSame('mid.comment', $update->message->body?->mid); $this->assertSame('Nice post', $update->message->body?->text); } }