Added MessageButton & ChatAdminPermission::EditLink & alias in ChatAdmin & participants in Chat & first_name in BotPatch

This commit is contained in:
Alex
2025-12-18 19:50:58 +03:00
parent cbb4cbcf0e
commit 3c6da8e8f6
15 changed files with 83 additions and 5 deletions
+7
View File
@@ -58,4 +58,11 @@ final class BotPatchTest extends TestCase
$patch = new BotPatch();
$this->assertEmpty($patch->toArray());
}
#[Test]
public function toArrayFirstAndLastName(): void
{
$patch = new BotPatch(first_name: 'New Name', last_name: null);
$this->assertEquals(['first_name' => 'New Name', 'last_name' => null], $patch->toArray());
}
}