Skip to content

Commit

Permalink
TelegramRawData was transformed to TelegramResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
unreal4u committed Oct 11, 2017
1 parent a07842a commit 20255aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Telegram/Methods/StopMessageLiveLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use unreal4u\TelegramAPI\Abstracts\TelegramMethods;
use unreal4u\TelegramAPI\Abstracts\TelegramTypes;
use unreal4u\TelegramAPI\Exceptions\InvalidResultType;
use unreal4u\TelegramAPI\InternalFunctionality\TelegramRawData;
use unreal4u\TelegramAPI\InternalFunctionality\TelegramResponse;
use unreal4u\TelegramAPI\Telegram\Types\Custom\ResultBoolean;
use unreal4u\TelegramAPI\Telegram\Types\Inline\Keyboard\Markup;
use unreal4u\TelegramAPI\Telegram\Types\Message;
Expand Down Expand Up @@ -55,7 +55,7 @@ public function getMandatoryFields(): array
return $this->mandatoryUserOrInlineMessageId($returnValue);
}

public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes
public static function bindToObject(TelegramResponse $data, LoggerInterface $logger): TelegramTypes
{
$typeOfResult = $data->getTypeOfResult();
switch ($typeOfResult) {
Expand Down

0 comments on commit 20255aa

Please sign in to comment.