Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bot limits #193

Merged
merged 1 commit into from
Apr 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 33 additions & 23 deletions localization/en/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,18 +359,23 @@
},
"upload_limit_botapi": {
"name": "File upload limit",
"hint": "(BotAPI)",
"hint": "without local Bot API server",
"text": "up to 50 MB"
},
"upload_limit_botapi_local": {
"name": "File upload limit",
"hint": "with local Bot API server",
"text": "up to 2000 MB"
},
"download_limit_botapi": {
"name": "File download limit",
"hint": "(BotAPI)",
"hint": "without local Bot API server",
"text": "up to 20 MB"
},
"forwarding": {
"name": "Message forwarding",
"hint": "",
"text": "up to 2,000 per hour"
"download_limit_botapi_local": {
"name": "File download limit",
"hint": "with local Bot API server",
"text": "up to 2000 MB"
},
"keys_in_keyboard_number": {
"name": "Keyboard buttons number",
Expand All @@ -387,15 +392,20 @@
"hint": "(bold, cursive etc.)",
"text": "up to 100 items"
},
"messaging_frequency_broadcast": {
"name": "Message broadcasting frequency",
"hint": "only applies when actively sending notifications to otherwise inactive chats",
"text": "up to 30 messages per second across chats"
},
"messaging_frequency": {
"name": "Messages frequency",
"hint": "(can be raised by BotSupport)",
"text": "up to 30 messages per second; 20 per minute for public chats and channels"
"name": "Message sending frequency",
"hint": "in any chat",
"text": "up to roughly one message per second, except maybe short bursts"
},
"api_requests_frequency": {
"name": "API requests frequency",
"hint": "(can be raised by BotSupport)",
"text": "up to 30 requests per second"
"messaging_frequency_groups": {
"name": "Message sending frequency",
"hint": "in group chats",
"text": "up to 20 messages per second in the same chat"
},
"bot_commands_count": {
"name": "Commands amount",
Expand All @@ -410,27 +420,22 @@
"bot_command_description_length": {
"name": "Command description length",
"hint": "",
"text": "minimum: 2 symbols in BotFather, 3 symbols in Bot API; maximum: 256 characters in both"
"text": "up to 256 characters, must be non-empty when set via Bot API"
},
"start_payload_size": {
"name": "Bot /start payload length",
"hint": "",
"text": "up to 64 characters"
"hint": "used in deep linking",
"text": "up to 64 bytes"
},
"bot_alert_length": {
"name": "Bot alert message length",
"hint": "",
"text": "up to 200 characters"
},
"username_resolve_limit": {
"name": "Username resolve limit",
"hint": "(for both bots and user accounts)",
"text": "up to 200 usernames daily"
},
"inline_max_items": {
"name": "Inline results number",
"hint": "",
"text": "up to 50 items"
"text": "up to 50 items per page"
}
}
},
Expand Down Expand Up @@ -521,7 +526,12 @@
"name": "Video avatar properties",
"hint": "",
"text": "800x800px, up to 2 MB"
},
"username_resolve_limit": {
"name": "Username resolve limit",
"hint": "(for both bots and user accounts)",
"text": "up to 200 usernames daily"
}
}
}
}
}