Localize
This commit is contained in:
parent
cb0704e70a
commit
1b4517168b
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: auth.authorizationSignUpRequired
|
title: auth.authorizationSignUpRequired
|
||||||
description: auth_authorizationSignUpRequired attributes, type and example
|
description: Signup is required
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: auth.authorizationSignUpRequired
|
# Constructor: auth.authorizationSignUpRequired
|
||||||
|
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Signup is required
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|
|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's Terms of Service|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@ Channel
|
||||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||||
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
||||||
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
||||||
|has\_geo|[Bool](../types/Bool.md) | Optional||
|
|has\_geo|[Bool](../types/Bool.md) | Optional|Whether this is a geogroup|
|
||||||
|slowmode\_enabled|[Bool](../types/Bool.md) | Optional||
|
|slowmode\_enabled|[Bool](../types/Bool.md) | Optional|Whether slowmode is enabled|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: channelAdminLogEventActionToggleSlowMode
|
title: channelAdminLogEventActionToggleSlowMode
|
||||||
description: channelAdminLogEventActionToggleSlowMode attributes, type and example
|
description: Channel admin log event action toggle slow mode
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: channelAdminLogEventActionToggleSlowMode
|
# Constructor: channelAdminLogEventActionToggleSlowMode
|
||||||
|
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Channel admin log event action toggle slow mode
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|prev\_value|[int](../types/int.md) | Yes|
|
|prev\_value|[int](../types/int.md) | Yes|Prev value|
|
||||||
|new\_value|[int](../types/int.md) | Yes|
|
|new\_value|[int](../types/int.md) | Yes|New value|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ Full channel
|
||||||
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|
||||||
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location|
|
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location|
|
||||||
|slowmode\_seconds|[int](../types/int.md) | Optional||
|
|slowmode\_seconds|[int](../types/int.md) | Optional|If specified, users in supergroups will only be able to send one message every `slowmode_seconds` seconds|
|
||||||
|slowmode\_next\_send\_date|[int](../types/int.md) | Optional||
|
|slowmode\_next\_send\_date|[int](../types/int.md) | Optional||
|
||||||
|pts|[int](../types/int.md) | Yes|PTS|
|
|pts|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Channel participant admin
|
||||||
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes|Admin rights|
|
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes|Admin rights|
|
||||||
|rank|[string](../types/string.md) | Optional||
|
|rank|[string](../types/string.md) | Optional|Admin's rank, an arbitrary string|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ Channel participant creator
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||||
|rank|[string](../types/string.md) | Optional||
|
|rank|[string](../types/string.md) | Optional|Creator rank, an arbitrary string|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Code settings
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
||||||
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
||||||
|allow\_app\_hash|[Bool](../types/Bool.md) | Optional||
|
|allow\_app\_hash|[Bool](../types/Bool.md) | Optional|Whether to allow a persistent app hash|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ App update
|
||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|can\_not\_skip|[Bool](../types/Bool.md) | Optional||
|
|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Whether the update is skippable|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|version|[string](../types/string.md) | Yes|Version|
|
|version|[string](../types/string.md) | Yes|Version|
|
||||||
|text|[string](../types/string.md) | Yes|Text|
|
|text|[string](../types/string.md) | Yes|Text|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: inputStickerSetAnimatedEmoji
|
title: inputStickerSetAnimatedEmoji
|
||||||
description: inputStickerSetAnimatedEmoji attributes, type and example
|
description: Animated emojis stickerset
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: inputStickerSetAnimatedEmoji
|
# Constructor: inputStickerSetAnimatedEmoji
|
||||||
|
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Animated emojis stickerset
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: payments.paymentVerificationNeeded
|
title: payments.paymentVerificationNeeded
|
||||||
description: payments_paymentVerificationNeeded attributes, type and example
|
description: Payment verification needed
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: payments.paymentVerificationNeeded
|
# Constructor: payments.paymentVerificationNeeded
|
||||||
|
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Payment verification needed
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|
|
|url|[string](../types/string.md) | Yes|3dsecure URL|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Edit admin permissions of a user in a channel/supergroup
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user | Optional|
|
||||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Admin rights | Yes|
|
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Admin rights | Yes|
|
||||||
|rank|[string](../types/string.md) | | Yes|
|
|rank|[string](../types/string.md) | Admin rank, an arbitrary string | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
---
|
---
|
||||||
title: channels.toggleSlowMode
|
title: channels.toggleSlowMode
|
||||||
description: channels.toggleSlowMode parameters, return type and example
|
description: Toggle slow mode
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Method: channels.toggleSlowMode
|
# Method: channels.toggleSlowMode
|
||||||
[Back to methods index](index.md)
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Toggle slow mode
|
||||||
|
|
||||||
### Parameters:
|
### Parameters:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Supergroup | Optional|
|
||||||
|seconds|[int](../types/int.md) | Yes|
|
|seconds|[int](../types/int.md) | Users will only be able to send one message every `seconds` seconds, `0` to disable the limitation | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
|
@ -544,6 +544,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
* <a href="channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
* <a href="channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
||||||
|
|
||||||
|
* <a href="channels_toggleSlowMode.html" name="channels_toggleSlowMode">Toggle slow mode: channels.toggleSlowMode</a>
|
||||||
|
|
||||||
* <a href="contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
* <a href="contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
||||||
|
|
||||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
||||||
|
|
|
@ -437,6 +437,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_initTakeoutSession.html" name="account_initTakeoutSession">Start account exporting session: account.initTakeoutSession</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_initTakeoutSession.html" name="account_initTakeoutSession">Start account exporting session: account.initTakeoutSession</a>
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_unregisterDevice.html" name="account_unregisterDevice">Stop sending PUSH notifications to app: account.unregisterDevice</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_unregisterDevice.html" name="account_unregisterDevice">Stop sending PUSH notifications to app: account.unregisterDevice</a>
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
||||||
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_toggleSlowMode.html" name="channels_toggleSlowMode">Toggle slow mode: channels.toggleSlowMode</a>
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
||||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
|
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
|
||||||
|
|
|
@ -24,7 +24,7 @@ Channel
|
||||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||||
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
||||||
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
||||||
|has\_geo|[Bool](../types/Bool.md) | Optional||
|
|has\_geo|[Bool](../types/Bool.md) | Optional|Whether this is a geogroup|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: auth.authorizationSignUpRequired
|
title: auth.authorizationSignUpRequired
|
||||||
description: auth_authorizationSignUpRequired attributes, type and example
|
description: Signup is required
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: auth.authorizationSignUpRequired
|
# Constructor: auth.authorizationSignUpRequired
|
||||||
|
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Signup is required
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|
|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Telegram's Terms of Service|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@ Channel
|
||||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||||
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
||||||
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
||||||
|has\_geo|[Bool](../types/Bool.md) | Optional||
|
|has\_geo|[Bool](../types/Bool.md) | Optional|Whether this is a geogroup|
|
||||||
|slowmode\_enabled|[Bool](../types/Bool.md) | Optional||
|
|slowmode\_enabled|[Bool](../types/Bool.md) | Optional|Whether slowmode is enabled|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: channelAdminLogEventActionToggleSlowMode
|
title: channelAdminLogEventActionToggleSlowMode
|
||||||
description: channelAdminLogEventActionToggleSlowMode attributes, type and example
|
description: Channel admin log event action toggle slow mode
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: channelAdminLogEventActionToggleSlowMode
|
# Constructor: channelAdminLogEventActionToggleSlowMode
|
||||||
|
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Channel admin log event action toggle slow mode
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|prev\_value|[int](../types/int.md) | Yes|
|
|prev\_value|[int](../types/int.md) | Yes|Prev value|
|
||||||
|new\_value|[int](../types/int.md) | Yes|
|
|new\_value|[int](../types/int.md) | Yes|New value|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ Full channel
|
||||||
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|
||||||
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location|
|
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location|
|
||||||
|slowmode\_seconds|[int](../types/int.md) | Optional||
|
|slowmode\_seconds|[int](../types/int.md) | Optional|If specified, users in supergroups will only be able to send one message every `slowmode_seconds` seconds|
|
||||||
|slowmode\_next\_send\_date|[int](../types/int.md) | Optional||
|
|slowmode\_next\_send\_date|[int](../types/int.md) | Optional||
|
||||||
|pts|[int](../types/int.md) | Yes|PTS|
|
|pts|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ Channel participant admin
|
||||||
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes|Admin rights|
|
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes|Admin rights|
|
||||||
|rank|[string](../types/string.md) | Optional||
|
|rank|[string](../types/string.md) | Optional|Admin's rank, an arbitrary string|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ Channel participant creator
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||||
|rank|[string](../types/string.md) | Optional||
|
|rank|[string](../types/string.md) | Optional|Creator rank, an arbitrary string|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Code settings
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
||||||
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
||||||
|allow\_app\_hash|[Bool](../types/Bool.md) | Optional||
|
|allow\_app\_hash|[Bool](../types/Bool.md) | Optional|Whether to allow a persistent app hash|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ App update
|
||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|can\_not\_skip|[Bool](../types/Bool.md) | Optional||
|
|can\_not\_skip|[Bool](../types/Bool.md) | Optional|Whether the update is skippable|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|version|[string](../types/string.md) | Yes|Version|
|
|version|[string](../types/string.md) | Yes|Version|
|
||||||
|text|[string](../types/string.md) | Yes|Text|
|
|text|[string](../types/string.md) | Yes|Text|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: inputStickerSetAnimatedEmoji
|
title: inputStickerSetAnimatedEmoji
|
||||||
description: inputStickerSetAnimatedEmoji attributes, type and example
|
description: Animated emojis stickerset
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: inputStickerSetAnimatedEmoji
|
# Constructor: inputStickerSetAnimatedEmoji
|
||||||
|
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Animated emojis stickerset
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: payments.paymentVerificationNeeded
|
title: payments.paymentVerificationNeeded
|
||||||
description: payments_paymentVerificationNeeded attributes, type and example
|
description: Payment verification needed
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: payments.paymentVerificationNeeded
|
# Constructor: payments.paymentVerificationNeeded
|
||||||
|
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Payment verification needed
|
||||||
|
|
||||||
### Attributes:
|
### Attributes:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|-------------|
|
||||||
|url|[string](../types/string.md) | Yes|
|
|url|[string](../types/string.md) | Yes|3dsecure URL|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -544,6 +544,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
|
||||||
* <a href="channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
* <a href="channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
||||||
|
|
||||||
|
* <a href="channels_toggleSlowMode.html" name="channels_toggleSlowMode">Toggle slow mode: channels.toggleSlowMode</a>
|
||||||
|
|
||||||
* <a href="contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
* <a href="contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
||||||
|
|
||||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
||||||
|
|
|
@ -16,7 +16,7 @@ Edit admin permissions of a user in a channel/supergroup
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
||||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user | Optional|
|
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user | Optional|
|
||||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Admin rights | Yes|
|
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Admin rights | Yes|
|
||||||
|rank|[string](../types/string.md) | | Yes|
|
|rank|[string](../types/string.md) | Admin rank, an arbitrary string | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
---
|
---
|
||||||
title: channels.toggleSlowMode
|
title: channels.toggleSlowMode
|
||||||
description: channels.toggleSlowMode parameters, return type and example
|
description: Toggle slow mode
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Method: channels.toggleSlowMode
|
# Method: channels.toggleSlowMode
|
||||||
[Back to methods index](index.md)
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Toggle slow mode
|
||||||
|
|
||||||
### Parameters:
|
### Parameters:
|
||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
|
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Supergroup | Optional|
|
||||||
|seconds|[int](../types/int.md) | Yes|
|
|seconds|[int](../types/int.md) | Users will only be able to send one message every `seconds` seconds, `0` to disable the limitation | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
Loading…
Reference in New Issue