1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:59:02 +01:00

change peer_type to peerType

This commit is contained in:
َAhJ 2023-08-29 13:11:44 +03:30
parent 9bf39b55eb
commit a06d636b22

View File

@ -39,6 +39,6 @@ final class InlineQuery extends Update
$this->userId = $rawInlineQuery['user_id'];
$this->offset = $rawInlineQuery['offset'];
$this->geo = isset($rawInlineQuery['geo']) ? new GeoPoint($rawInlineQuery['geo']) : null;
$this->peerType = InlineQueryPeerType::fromString($rawInlineQuery['peerType']['_']);
$this->peerType = InlineQueryPeerType::fromString($rawInlineQuery['peer_type']['_']);
}
}