mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-10-29 23:35:52 +00:00
Fix send message response object
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ class Api
|
||||
$this->buildNewMessageBody($text, $attachments, $format, $link, $notify),
|
||||
);
|
||||
|
||||
return $this->modelFactory->createMessage($response['message']);
|
||||
return $this->modelFactory->createMessageFromSendResponse($response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user