Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed May 1, 2024
0 parents commit 5b40777
Show file tree
Hide file tree
Showing 2,996 changed files with 169,531 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_site
.jekyll-cache
31 changes: 31 additions & 0 deletions .woodpecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
steps:
build:
image: danog/gojekyll
when:
branch: master
event: push
secrets:
- DEPLOY_KEY
commands:
- apt-get update && apt-get -y install openssh-client git
- mkdir -p $HOME/.ssh
- ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
- echo "$DEPLOY_KEY" > $HOME/.ssh/id_rsa
- chmod 0600 $HOME/.ssh/id_rsa
- git config --global user.email "[email protected]"
- git config --global user.name "Daniil Gentili"
- git remote add o [email protected]:danog/MadelineProtoDocs.git
- git fetch o gh-pages
- cd docs
- gojekyll clean
- gojekyll build
- rm -rf /tmp/_site
- cp -a _site /tmp/
- cd ..
- git fetch o gh-pages
- git checkout gh-pages
- rm -rf *
- cp -a /tmp/_site/* .
- git add -A
- git commit -am 'Update'
- git push o gh-pages
9 changes: 9 additions & 0 deletions docs/.well-known/amphtml/apikey.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwGcqZ+kZ2QFmGLlQTrZQ
vkJscTcn0RS09H62yhrwhnbHzQ0LSgJxSiPBdZB/prGPV6FgsMvcqXi4jfqHVef6
tat/x8X7zEdYEBfrI05B/TmGN0QQkoN5OQ0hsEjWUzkv5R0GaYB6RtpQ5RcZiHll
bDZCn0Dyir0PttyKooXHDIQWMOXz4HkzboJk0FaqgddKHX/CE1VUZdOZPDCG7O7A
+HJIEXkVCua5YepDQs19r8RPifgfVOKxhFe0RP/e2jZw816gMQFlI7+jNAJG7IFH
vE3UrvTmyR3gQPugzDipxLdgRjm3rCKcHFWO51jjTMpxwnUitPjBPX93aRzqJ0kV
oQIDAQAB
-----END PUBLIC KEY-----
34 changes: 34 additions & 0 deletions docs/API_docs/constructors/account.authorizationForm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: "account.authorizationForm"
description: "Telegram Passport authorization form"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_authorizationForm.html
---
# Constructor: account.authorizationForm
[Back to constructors index](/API_docs/constructors/index.html)



[Telegram Passport](https://core.telegram.org/passport) authorization form

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|required\_types|Array of [SecureRequiredType](/API_docs/types/SecureRequiredType.html) | Yes|Required [Telegram Passport](https://core.telegram.org/passport) documents|
|values|Array of [SecureValue](/API_docs/types/SecureValue.html) | Yes|Already submitted [Telegram Passport](https://core.telegram.org/passport) documents|
|errors|Array of [SecureValueError](/API_docs/types/SecureValueError.html) | Yes|[Telegram Passport](https://core.telegram.org/passport) errors|
|users|Array of [User](/API_docs/types/User.html) | Yes|Info about the bot to which the form will be submitted|
|privacy\_policy\_url|[string](/API_docs/types/string.html) | Optional|URL of the service's privacy policy|



### Type: [account.AuthorizationForm](/API_docs/types/account.AuthorizationForm.html)


### Example:

```
$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
```
31 changes: 31 additions & 0 deletions docs/API_docs/constructors/account.authorizations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "account.authorizations"
description: "Logged-in sessions"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_authorizations.html
---
# Constructor: account.authorizations
[Back to constructors index](/API_docs/constructors/index.html)



Logged-in sessions

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|authorization\_ttl\_days|[int](/API_docs/types/int.html) | Yes|Time-to-live of session|
|authorizations|Array of [Authorization](/API_docs/types/Authorization.html) | Yes|Logged-in sessions|



### Type: [account.Authorizations](/API_docs/types/account.Authorizations.html)


### Example:

```
$account_authorizations = ['_' => 'account.authorizations', 'authorization_ttl_days' => int, 'authorizations' => [Authorization, Authorization]];
```
32 changes: 32 additions & 0 deletions docs/API_docs/constructors/account.autoDownloadSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "account.autoDownloadSettings"
description: "Media autodownload settings"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_autoDownloadSettings.html
---
# Constructor: account.autoDownloadSettings
[Back to constructors index](/API_docs/constructors/index.html)



Media autodownload settings

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|low|[AutoDownloadSettings](/API_docs/types/AutoDownloadSettings.html) | Yes|Low data usage preset|
|medium|[AutoDownloadSettings](/API_docs/types/AutoDownloadSettings.html) | Yes|Medium data usage preset|
|high|[AutoDownloadSettings](/API_docs/types/AutoDownloadSettings.html) | Yes|High data usage preset|



### Type: [account.AutoDownloadSettings](/API_docs/types/account.AutoDownloadSettings.html)


### Example:

```
$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings];
```
35 changes: 35 additions & 0 deletions docs/API_docs/constructors/account.autoSaveSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "account.autoSaveSettings"
description: "Contains media autosave settings"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_autoSaveSettings.html
---
# Constructor: account.autoSaveSettings
[Back to constructors index](/API_docs/constructors/index.html)



Contains media autosave settings

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|users\_settings|[AutoSaveSettings](/API_docs/types/AutoSaveSettings.html) | Yes|Default media autosave settings for private chats|
|chats\_settings|[AutoSaveSettings](/API_docs/types/AutoSaveSettings.html) | Yes|Default media autosave settings for [groups and supergroups](https://core.telegram.org/api/channel)|
|broadcasts\_settings|[AutoSaveSettings](/API_docs/types/AutoSaveSettings.html) | Yes|Default media autosave settings for [channels](https://core.telegram.org/api/channel)|
|exceptions|Array of [AutoSaveException](/API_docs/types/AutoSaveException.html) | Yes|Peer-specific granular autosave settings|
|chats|Array of [Chat](/API_docs/types/Chat.html) | Yes|Chats mentioned in the peer-specific granular autosave settings|
|users|Array of [User](/API_docs/types/User.html) | Yes|Users mentioned in the peer-specific granular autosave settings|



### Type: [account.AutoSaveSettings](/API_docs/types/account.AutoSaveSettings.html)


### Example:

```
$account_autoSaveSettings = ['_' => 'account.autoSaveSettings', 'users_settings' => AutoSaveSettings, 'chats_settings' => AutoSaveSettings, 'broadcasts_settings' => AutoSaveSettings, 'exceptions' => [AutoSaveException, AutoSaveException], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
30 changes: 30 additions & 0 deletions docs/API_docs/constructors/account.businessChatLinks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "account.businessChatLinks"
description: "account.businessChatLinks attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_businessChatLinks.html
---
# Constructor: account.businessChatLinks
[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name | Type | Required |
|----------|---------------|----------|
|links|Array of [BusinessChatLink](/API_docs/types/BusinessChatLink.html) | Yes|
|chats|Array of [Chat](/API_docs/types/Chat.html) | Yes|
|users|Array of [User](/API_docs/types/User.html) | Yes|



### Type: [account.BusinessChatLinks](/API_docs/types/account.BusinessChatLinks.html)


### Example:

```
$account_businessChatLinks = ['_' => 'account.businessChatLinks', 'links' => [BusinessChatLink, BusinessChatLink], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
29 changes: 29 additions & 0 deletions docs/API_docs/constructors/account.connectedBots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "account.connectedBots"
description: "account.connectedBots attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_connectedBots.html
---
# Constructor: account.connectedBots
[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name | Type | Required |
|----------|---------------|----------|
|connected\_bots|Array of [ConnectedBot](/API_docs/types/ConnectedBot.html) | Yes|
|users|Array of [User](/API_docs/types/User.html) | Yes|



### Type: [account.ConnectedBots](/API_docs/types/account.ConnectedBots.html)


### Example:

```
$account_connectedBots = ['_' => 'account.connectedBots', 'connected_bots' => [ConnectedBot, ConnectedBot], 'users' => [User, User]];
```
31 changes: 31 additions & 0 deletions docs/API_docs/constructors/account.contentSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "account.contentSettings"
description: "Sensitive content settings"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_contentSettings.html
---
# Constructor: account.contentSettings
[Back to constructors index](/API_docs/constructors/index.html)



Sensitive content settings

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sensitive\_enabled|[Bool](/API_docs/types/Bool.html) | Optional|Whether viewing of sensitive (NSFW) content is enabled|
|sensitive\_can\_change|[Bool](/API_docs/types/Bool.html) | Optional|Whether the current client can change the sensitive content settings to view NSFW content|



### Type: [account.ContentSettings](/API_docs/types/account.ContentSettings.html)


### Example:

```
$account_contentSettings = ['_' => 'account.contentSettings', 'sensitive_enabled' => Bool, 'sensitive_can_change' => Bool];
```
30 changes: 30 additions & 0 deletions docs/API_docs/constructors/account.emailVerified.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: "account.emailVerified"
description: "The email was verified correctly."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_emailVerified.html
---
# Constructor: account.emailVerified
[Back to constructors index](/API_docs/constructors/index.html)



The email was verified correctly.

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|email|[string](/API_docs/types/string.html) | Yes|The verified email address.|



### Type: [account.EmailVerified](/API_docs/types/account.EmailVerified.html)


### Example:

```
$account_emailVerified = ['_' => 'account.emailVerified', 'email' => 'string'];
```
31 changes: 31 additions & 0 deletions docs/API_docs/constructors/account.emailVerifiedLogin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "account.emailVerifiedLogin"
description: "The email was verified correctly, and a login code was just sent to it."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_emailVerifiedLogin.html
---
# Constructor: account.emailVerifiedLogin
[Back to constructors index](/API_docs/constructors/index.html)



The email was verified correctly, and a login code was just sent to it.

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|email|[string](/API_docs/types/string.html) | Yes|The verified email address.|
|sent\_code|[auth.SentCode](/API_docs/constructors/auth.SentCode.html) | Yes|Info about the sent [login code](https://core.telegram.org/api/auth)|



### Type: [account.EmailVerified](/API_docs/types/account.EmailVerified.html)


### Example:

```
$account_emailVerifiedLogin = ['_' => 'account.emailVerifiedLogin', 'email' => 'string', 'sent_code' => auth.SentCode];
```
31 changes: 31 additions & 0 deletions docs/API_docs/constructors/account.emojiStatuses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: "account.emojiStatuses"
description: "A list of emoji statuses"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_emojiStatuses.html
---
# Constructor: account.emojiStatuses
[Back to constructors index](/API_docs/constructors/index.html)



A list of [emoji statuses](https://core.telegram.org/api/emoji-status)

### Attributes:

| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[long](/API_docs/types/long.html) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
|statuses|Array of [EmojiStatus](/API_docs/types/EmojiStatus.html) | Yes|[Emoji statuses](https://core.telegram.org/api/emoji-status)|



### Type: [account.EmojiStatuses](/API_docs/types/account.EmojiStatuses.html)


### Example:

```
$account_emojiStatuses = ['_' => 'account.emojiStatuses', 'hash' => long, 'statuses' => [EmojiStatus, EmojiStatus]];
```
25 changes: 25 additions & 0 deletions docs/API_docs/constructors/account.emojiStatusesNotModified.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "account.emojiStatusesNotModified"
description: "The server-side list of emoji statuses hasn't changed"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_emojiStatusesNotModified.html
---
# Constructor: account.emojiStatusesNotModified
[Back to constructors index](/API_docs/constructors/index.html)



The server-side list of [emoji statuses](https://core.telegram.org/api/emoji-status) hasn't changed




### Type: [account.EmojiStatuses](/API_docs/types/account.EmojiStatuses.html)


### Example:

```
$account_emojiStatusesNotModified = ['_' => 'account.emojiStatusesNotModified'];
```
Loading

0 comments on commit 5b40777

Please sign in to comment.