Update docs
This commit is contained in:
parent
2c094dfa4a
commit
ef70d7e1ba
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Request rekeying, see [rekeying process](https://core.telegram.org/api/end-to-en
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|exchange\_id|[long](../types/long.md) | Yes|Exchange ID|
|
|exchange\_id|[long](../types/long.md) | Yes|Exchange ID|
|
||||||
|g\_a|[bytes](../types/bytes.md) | Yes|g\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)|
|
|g\_a|[bytes](../types/bytes.md) | Yes|G\_a, see [rekeying process](https://core.telegram.org/api/end-to-end/pfs)|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ Non-e2e documented forwarded from non-secret chat
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|Document ID|
|
|id|[long](../types/long.md) | Yes|Document ID|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
|mime\_type|[string](../types/string.md) | Yes|Mime type|
|
|mime\_type|[string](../types/string.md) | Yes|Mime type|
|
||||||
|size|[int](../types/int.md) | Yes|Size|
|
|size|[int](../types/int.md) | Yes|Size|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Indicates an already sent game
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[long](../types/long.md) | Yes|game ID from [Game](../types/Game.md) constructor|
|
|id|[long](../types/long.md) | Yes|Game ID from [Game](../types/Game.md) constructor|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|access hash from [Game](../types/Game.md) constructor|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash from [Game](../types/Game.md) constructor|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: jsonNull
|
title: jsonNull
|
||||||
description: null JSON value
|
description: Null JSON value
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: jsonNull
|
# Constructor: jsonNull
|
||||||
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
null JSON value
|
Null JSON value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me invite link to a chat
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Optional|Chat invitation|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Recent t.me stickerset installation URL
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|t.me URL|
|
|url|[string](../types/string.md) | Yes|T.me URL|
|
||||||
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|Stickerset|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -15,7 +15,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
|pts\_total\_limit|[int](../types/int.md) | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](../constructors/updates.differenceTooLong.md) will be returned.<br>Simply tells the server to not return the difference if it is bigger than `pts_total_limit`<br>If the remote pts is too big (> ~4000000), this field will default to 1000000 | Optional|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
@ -13,7 +13,7 @@ Changes username for the current user.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username or empty string if username is to be removed<br>Accepted characters: a-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [User](../types/User.md)
|
### Return type: [User](../types/User.md)
|
||||||
|
@ -14,7 +14,7 @@ Get new [updates](https://core.telegram.org/api/updates).
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|pts|[int](../types/int.md) | PTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|date|[int](../types/int.md) | date, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|date|[int](../types/int.md) | You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates | Yes|
|
||||||
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
|qts|[int](../types/int.md) | QTS, see [updates](https://core.telegram.org/api/updates). | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ Data for copying of authorization between data centres.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|id|[int](../types/int.md) | Yes|current user identifier|
|
|id|[int](../types/int.md) | Yes|Current user identifier|
|
||||||
|bytes|[bytes](../types/bytes.md) | Yes|authorizes key|
|
|bytes|[bytes](../types/bytes.md) | Yes|Authorizes key|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Notifications generated by a certain user or group.
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|user or group|
|
|peer|[Peer](../types/Peer.md) | Yes|User or group|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Validates a username and checks availability.
|
|||||||
|
|
||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|username|[string](../types/string.md) | username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
|username|[string](../types/string.md) | Username<br>Accepted characters: A-z (case-insensitive), 0-9 and underscores.<br>Length: 5-32 characters. | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Bool](../types/Bool.md)
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user