From 85191a6f5e4dd540557303badae7357c1db63604 Mon Sep 17 00:00:00 2001 From: psycholyzern Date: Mon, 24 Apr 2017 18:41:32 +0800 Subject: [PATCH] Update README.md (#101) Fix link to default settings --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0459157c4..bca118d49 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ $MadelineProto = new \danog\MadelineProto\API(); ### Settings The constructor accepts an optional parameter, which is the settings array. This array contains some other arrays, which are the settings for a specific MadelineProto function. -See [here](https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/MTProto.php#L99) for the default values for the settings arrays and explanations for every setting. +See [here](https://github.com/danog/MadelineProto/blob/master/src/danog/MadelineProto/MTProto.php#L232) for the default values for the settings arrays and explanations for every setting. You can provide part of any subsetting array, that way the remaining arrays will be automagically set to default and undefined values of specified subsetting arrays will be set to the default values. Example: