'user_geo_location', 'text' => 'Share Location', 'quick' => false, ]; $this->assertEquals($expected, $button->toArray()); } #[Test] public function toArrayWithQuickTrue(): void { $button = new SendGeoLocationButton('Quick Share', true); $expected = [ 'type' => 'user_geo_location', 'text' => 'Quick Share', 'quick' => true, ]; $this->assertEquals($expected, $button->toArray()); } }