mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-22 23:42:28 +00:00
22 lines
464 B
PHP
22 lines
464 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace BushlanovDev\MaxMessengerBot\Models\Attachments;
|
|
|
|
use BushlanovDev\MaxMessengerBot\Enums\AttachmentType;
|
|
|
|
final readonly class LocationAttachment extends AbstractAttachment
|
|
{
|
|
/**
|
|
* @param float $latitude
|
|
* @param float $longitude
|
|
*/
|
|
public function __construct(
|
|
public float $latitude,
|
|
public float $longitude,
|
|
) {
|
|
parent::__construct(AttachmentType::Location);
|
|
}
|
|
}
|