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:
parent
9bf39b55eb
commit
a06d636b22
@ -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']['_']);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user