mirror of
https://github.com/openmax-server/server.git
synced 2026-06-15 07:11:42 +03:00
Начальная реализация транспорта ws для max web и прочие улучшения
This commit is contained in:
@@ -3,5 +3,120 @@ class OnemeConfig:
|
||||
pass
|
||||
|
||||
SERVER_CONFIG = {
|
||||
|
||||
"async-tracer": 0,
|
||||
"presence-ttl": 300,
|
||||
"non-contact-sync-time": 86400,
|
||||
"contact-batching-variant": 0,
|
||||
"account-nickname-enabled": True,
|
||||
"web-ad-banner": {
|
||||
"enabled": False
|
||||
},
|
||||
"edit-timeout": 0,
|
||||
"reactions-menu": [],
|
||||
"invite-long": "",
|
||||
"calls-endpoint": "",
|
||||
"calls-test-domain": "",
|
||||
"max-readmarks": 100,
|
||||
"max-cname-length": 200,
|
||||
"max-description-length": 400,
|
||||
"new-avatar-gradient-colors-enabled": True,
|
||||
"max-msg-length": 4000,
|
||||
"file-upload-unsupported-types": [],
|
||||
"file-upload-max-size": 4294967296,
|
||||
"image-quality": 0.8,
|
||||
"image-width": 1920,
|
||||
"image-height": 1920,
|
||||
"image-size": 10000000,
|
||||
"max-favorite-chats": 5,
|
||||
"bot-complaint-enabled": True,
|
||||
"reactions-max": 8,
|
||||
"welcome-sticker-ids": [],
|
||||
"edit-chat-type-screen-enabled": True,
|
||||
"edit-channel-type-screen-enabled": True,
|
||||
"esia-verify-botId": 0,
|
||||
"official-org": False,
|
||||
"esia-enabled": False,
|
||||
"calls-debug-mode": False,
|
||||
"channels-suggests-folder": True,
|
||||
"delete-msg-fys-large-chat-disabled": False,
|
||||
"calls-web-download-logs": False,
|
||||
"calls-web-upload-logs": False,
|
||||
"calls-video-zoom": False,
|
||||
"calls-fullscreen-mode": False,
|
||||
"group-call-part-limit": 100,
|
||||
"call-chat-members-load-config": {},
|
||||
"cfs": False,
|
||||
"cse": False,
|
||||
"calls-hotkeys": True,
|
||||
"gc-link-pre-settings": False,
|
||||
"gc-from-p2p": False,
|
||||
"call-rate": {},
|
||||
"channels-enabled": True,
|
||||
"max-participants": 20000,
|
||||
"max-added-participants": 100,
|
||||
"saved-messages-aliases": [],
|
||||
"author-visibility-forward-enabled": False,
|
||||
"official-bot-naming-enabled": False,
|
||||
"search-webapps-showcase": {
|
||||
"items": []
|
||||
},
|
||||
"settings-entry-banners": [],
|
||||
"settings-business": "https://telegram.org/blog/telegram-business",
|
||||
"appearance-multi-theme-screen-enabled": True,
|
||||
"moscow-theme-enabled": True,
|
||||
"creation-2fa-config": {
|
||||
"enabled": False,
|
||||
"pass_min_len": 6,
|
||||
"pass_max_len": 64,
|
||||
"hint_max_len": 30
|
||||
},
|
||||
"lebedev-theme-enabled": True,
|
||||
"quotes-enabled": True,
|
||||
"channels-complaint-enabled": True,
|
||||
"reactions-settings-enabled": True,
|
||||
"channel-statistics-botid": 0,
|
||||
"enable-unknown-contact-bottom-sheet": 0,
|
||||
"informer-enabled": True,
|
||||
"family-protection-botid": 0,
|
||||
"new-year-theme-2026": True,
|
||||
"scheduled-messages-enabled": True,
|
||||
"scheduled-posts-enabled": True,
|
||||
"scheduled-faves-enabled": True,
|
||||
"non-contact-complaints-enabled": True,
|
||||
"join-requests": True,
|
||||
"web-persistent-cache": False,
|
||||
"create-channel-type-screen": True,
|
||||
"show-warning-links": True,
|
||||
"white-list-links": [],
|
||||
"february-23-26-theme": True,
|
||||
"march-8-26-theme": True,
|
||||
"audio-play-cmd": False,
|
||||
"audio-play-opus": False,
|
||||
"bots-channel-adding": True,
|
||||
"stickers-botid": 0,
|
||||
"sticker-set-edit-enabled": True,
|
||||
"calls-new-history-enabled": True,
|
||||
"y-map": {
|
||||
"tile": "",
|
||||
"geocoder": "",
|
||||
"static": ""
|
||||
},
|
||||
"enable-audio-messages-transcription": True,
|
||||
"enable-video-messages-transcription": True,
|
||||
"retry-transcribe-attempt": 5,
|
||||
"retry-transcribe-timeout": 2000,
|
||||
"org-profile": False,
|
||||
"media-not-ready-retry-delay": 2000,
|
||||
"polls-in-chats": True,
|
||||
"polls-in-channels": True,
|
||||
"render-polls": True,
|
||||
"poll-ttl": {
|
||||
"chat": 5000,
|
||||
"bigchat": 15000,
|
||||
"channel": 25000
|
||||
},
|
||||
"new-collage": False,
|
||||
"channel-profile-invite-link": False,
|
||||
"rename-profile-to-settings": True,
|
||||
"live-streams": True
|
||||
}
|
||||
Reference in New Issue
Block a user