Skip to content

Commit

Permalink
Merge pull request #2 from Sea-n/master
Browse files Browse the repository at this point in the history
Add Syntax Highlight for Markdown
  • Loading branch information
danog committed Oct 17, 2018
2 parents 20e50a3 + 4baac31 commit 51906d4
Show file tree
Hide file tree
Showing 17,087 changed files with 46,350 additions and 58,852 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/accessPointRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
```

Expand All @@ -34,10 +34,9 @@ $accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string',
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/accountDaysTTL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
```

Expand All @@ -32,10 +32,9 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
accountDaysTTL={_='accountDaysTTL', days=int}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_authorizationForm.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
```

Expand All @@ -37,10 +37,9 @@ $account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_requir
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_authorizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
```

Expand All @@ -32,10 +32,9 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' =>
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_authorizations={_='account.authorizations', authorizations={Authorization}}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_noPassword.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
```

Expand All @@ -35,10 +35,9 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_password.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string'];
```

Expand All @@ -39,10 +39,9 @@ $account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_sec
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_passwordInputSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long];
```

Expand All @@ -40,10 +40,9 @@ $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_s
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_passwordSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];
```

Expand All @@ -35,10 +35,9 @@ $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'stri
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_privacyRules.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
```

Expand All @@ -33,10 +33,9 @@ $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule,
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_sentEmailCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
```

Expand All @@ -33,10 +33,9 @@ $account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'st
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_takeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_takeout = ['_' => 'account.takeout', 'id' => long];
```

Expand All @@ -32,10 +32,9 @@ $account_takeout = ['_' => 'account.takeout', 'id' => long];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_takeout={_='account.takeout', id=long}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_tmpPassword.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
```

Expand All @@ -33,10 +33,9 @@ $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes',
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/account_webAuthorizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
```

Expand All @@ -33,10 +33,9 @@ $account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorization
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/auth_authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
```

Expand All @@ -33,10 +33,9 @@ $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/auth_checkedPhone.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
```

Expand All @@ -32,10 +32,9 @@ $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/auth_codeTypeCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
```

Expand All @@ -27,10 +27,9 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
auth_codeTypeCall={_='auth.codeTypeCall'}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/auth_codeTypeFlashCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
```

Expand All @@ -27,10 +27,9 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}

```
Expand Down
7 changes: 3 additions & 4 deletions docs/API_docs/constructors/auth_codeTypeSms.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

### Example:

```
```php
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
```

Expand All @@ -27,10 +27,9 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
```


Or, if you're into Lua:

Or, if you're into Lua:

```
```lua
auth_codeTypeSms={_='auth.codeTypeSms'}

```
Expand Down

0 comments on commit 51906d4

Please sign in to comment.