slidge.plugins.telegram.config#

Module Contents#

slidge.plugins.telegram.config._api_txt = Multiline-String[source]#
Show Value
"""
If you dont set it, users will have to enter their own on registration."""
slidge.plugins.telegram.config.TDLIB_PATH: pathlib.Path[source]#
slidge.plugins.telegram.config.TDLIB_PATH__DOC = 'Defaults to ${SLIDGE_HOME_DIR}/tdlib'[source]#
slidge.plugins.telegram.config.TDLIB_PATH__DYNAMIC_DEFAULT = True[source]#
slidge.plugins.telegram.config.TDLIB_KEY: str = 'NOT_SECURE'[source]#
slidge.plugins.telegram.config.TDLIB_KEY__DOC = 'Key used to encrypt tdlib persistent DB'[source]#
slidge.plugins.telegram.config.API_ID: int | None[source]#
slidge.plugins.telegram.config.API_ID__DOC[source]#
slidge.plugins.telegram.config.API_HASH: str | None[source]#
slidge.plugins.telegram.config.API_HASH__DOC[source]#
slidge.plugins.telegram.config.REGISTRATION_AUTH_CODE_TIMEOUT: int = 60[source]#
slidge.plugins.telegram.config.REGISTRATION_AUTH_CODE_TIMEOUT__DOC = 'On registration, users will be prompted for a 2FA code they receive on other telegram clients.'[source]#
slidge.plugins.telegram.config.GROUP_HISTORY_MAXIMUM_MESSAGES = 50[source]#
slidge.plugins.telegram.config.GROUP_HISTORY_MAXIMUM_MESSAGES__DOC = 'The number of messages to fetch from a group history. These messages and their attachments will...'[source]#
slidge.plugins.telegram.config.OUTGOING_STICKERS_REGEXP: str | None[source]#
slidge.plugins.telegram.config.OUTGOING_STICKERS_REGEXP__DOC = '(workaround until the proper XEP is implemented) Set this to a regexp to treat certain...'[source]#
slidge.plugins.telegram.config.ATTACHMENT_MAX_SIZE: int[source]#
slidge.plugins.telegram.config.ATTACHMENT_MAX_SIZE__DOC = 'Maximum file size (in bytes) to download from telegram automatically/'[source]#