@@ -23,14 +23,14 @@ use \Longman\TelegramBot\Entities\ReplyToMessage;
classReplyToMessageTestextendsTestCase
{
/**
* @var \Longman\TelegramBot\Telegram
* @var \Longman\TelegramBot\Entities\Message
*/
private$reply_to_message;
private$message;
/**
* @test
* @var \Longman\TelegramBot\Entities\Message
*/
private$message;
publicfunctiontestChatType()
{
...
...
@@ -39,7 +39,7 @@ class ReplyToMessageTest extends TestCase
"message":{"message_id":4479,"from":{"id":123,"first_name":"John","username":"MJohn"},"chat":{"id":-123,"title":"MyChat","type":"group"},"date":1449092987,"reply_to_message":{"message_id":11,"from":{"id":121,"first_name":"Myname","username":"mybot"},"chat":{"id":-123,"title":"MyChat","type":"group"},"date":1449092984,"text":"type some text"},"text":"some text"}}