mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-24 11:36:51 +00:00
Added sendMessage method
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace BushlanovDev\MaxMessengerBot\Models;
|
||||
|
||||
/**
|
||||
* Message.
|
||||
*/
|
||||
final readonly class Message extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* @param MessageBody $body Body of created message. Text + attachments.
|
||||
*/
|
||||
public function __construct(
|
||||
public MessageBody $body,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user