mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-24 15:26:49 +00:00
fix #1 TypeError Api::sendUserMessage после отправки сообщения
Added PhotoAttachmentRequestPayloadTest
This commit is contained in:
@@ -28,6 +28,11 @@ final class MessageTest extends TestCase
|
||||
{
|
||||
$data = [
|
||||
'timestamp' => time(),
|
||||
'recipient' => [
|
||||
'chat_type' => 'dialog',
|
||||
'user_id' => 123,
|
||||
'chat_id' => null,
|
||||
],
|
||||
'body' => [
|
||||
'mid' => 'mid.456.xyz',
|
||||
'seq' => 101,
|
||||
@@ -35,11 +40,6 @@ final class MessageTest extends TestCase
|
||||
'attachments' => null,
|
||||
'markup' => null,
|
||||
],
|
||||
'recipient' => [
|
||||
'chat_type' => 'dialog',
|
||||
'user_id' => 123,
|
||||
'chat_id' => null,
|
||||
],
|
||||
'sender' =>[
|
||||
'user_id' => 123,
|
||||
'first_name' => 'John',
|
||||
|
||||
Reference in New Issue
Block a user