Index _ | A | B | C | D | E | F | G | H | I | J | L | M | P | R | S | T | U | W _ __call__() (Singleton method) __post_init__() (ChannelInfo method) _button_callback() (in module twtb.logic.telegram.on_message) _check_shared_chat_availability() (SharingMessageInDB method) _generate_next_value_() (ButtonData static method) _get_commit() (in module twtb.utils) _get_slash_start_message() (in module twtb.logic.telegram.on_message) _handle() (AddChannelButtonHandler method) (ButtonHandler method) (ListKnownChannelsButtonHandler method) (ListMySubscribesButtonHandler method) (SubscribeToWordButtonHandler method) (UnsubscribeFromWordButtonHandler method) _handle_env_variables() (Config static method) _instances (Singleton attribute) _on_message() (in module twtb.logic.telegram.on_message) _on_shared_chat_adding_token() (in module twtb.logic.telegram.on_message) _on_shared_chat_message() (in module twtb.logic.telegram.on_message) _send_message() (AbstractSender method) (TelegramSender method) _senders() (MessageSender method) _setup() (Config class method) _start_command() (in module twtb.logic.telegram.on_message) A AbstractSender (class in twtb.logic.shared.abstractions) ADD_CHANNEL (ButtonData attribute) add_channel() (Database method) AddChannelButtonHandler (class in twtb.logic.telegram.button_handlers) api_hash (ClientOrBotSection attribute) api_id (ClientOrBotSection attribute) B BASE_DIR (in module twtb.config) bot (SharedChatIDContainer attribute) (TelegramConfigSection attribute) bot_token (BotSection attribute) BotSection (class in twtb.logic.telegram.config) ButtonData (class in twtb.logic.telegram.data) ButtonHandler (class in twtb.logic.telegram.button_handlers) C ChannelInfo (class in twtb.logic.shared.db.channels_info) ChannelInfoInDB (class in twtb.logic.shared.db.channels_info) ChannelNotFoundOrIsInvalidError client (SharedChatIDContainer attribute) (TelegramConfigSection attribute) ClientOrBotSection (class in twtb.logic.telegram.config) ClientSection (class in twtb.logic.telegram.config) Config (class in twtb.config) CRITICAL (LogLevel attribute) D Database (class in twtb.logic.shared.db) DatabaseConfigSection (class in twtb.logic.shared.db) db (Config attribute) DEBUG (LogLevel attribute) delete_channel() (Database method) dsn (SentryConfigSection attribute) E enabled (SentryConfigSection attribute) ERROR (LogLevel attribute) F from_json() (ChannelInfo class method) G get() (ChannelInfoInDB method) (SharingMessageInDB method) get_all_channels() (Database method) get_all_subscribed_words() (Database method) get_and_save() (ChannelInfoInDB method) get_handler() (ButtonHandler class method) get_info_about_channels() (in module twtb.logic.telegram.subscribe) get_shared_chat() (SharingMessageInDB method) get_user_words() (Database method) H handle() (ButtonHandler method) (MessageHandler method) handles (AddChannelButtonHandler attribute) (ButtonHandler attribute) (ListKnownChannelsButtonHandler attribute) (ListMySubscribesButtonHandler attribute) (SubscribeToWordButtonHandler attribute) (UnsubscribeFromWordButtonHandler attribute) hash_message() (SharingMessageInDB static method) hash_with_fnv64() (in module twtb.logic.shared.db.sharing_message) host (DatabaseConfigSection attribute) I id_container (in module twtb.logic.telegram.setup_shared_chat) INFO (LogLevel attribute) J json (LoggingConfigSection attribute) L level (LoggingConfigSection attribute) LIST_KNOWN_CHANNELS (ButtonData attribute) LIST_MY_SUBSCRIBES (ButtonData attribute) ListKnownChannelsButtonHandler (class in twtb.logic.telegram.button_handlers) ListMySubscribesButtonHandler (class in twtb.logic.telegram.button_handlers) logging (Config attribute) LoggingConfigSection (class in twtb.logic.shared.logging) LogLevel (class in twtb.logic.shared.logging) M main() (in module twtb.__main__) MESSAGE_TOKEN (in module twtb.logic.telegram.setup_shared_chat) MessageHandler (class in twtb.logic.shared.message_handler) MessageSender (class in twtb.logic.shared.message_sender) module twtb twtb.__main__ twtb.config twtb.logic twtb.logic.shared twtb.logic.shared.abstractions twtb.logic.shared.db twtb.logic.shared.db.channels_info twtb.logic.shared.db.sharing_message twtb.logic.shared.logging twtb.logic.shared.message_handler twtb.logic.shared.message_sender twtb.logic.shared.sentry_config twtb.logic.telegram twtb.logic.telegram.button_handlers twtb.logic.telegram.config twtb.logic.telegram.data twtb.logic.telegram.message_sender twtb.logic.telegram.on_message twtb.logic.telegram.setup_shared_chat twtb.logic.telegram.subscribe twtb.utils P password (ClientSection attribute) (DatabaseConfigSection attribute) phone (ClientSection attribute) port (DatabaseConfigSection attribute) ProvidedIdIsNotAChannelError R register() (in module twtb.logic.telegram.on_message) register_hooks() (in module twtb.logic.telegram) remove_prefix() (in module twtb.utils) remove_suffix() (in module twtb.utils) run() (in module twtb.logic.telegram) run_both_client_and_bot() (in module twtb.logic.telegram) run_periodical_subscribing() (in module twtb.logic.telegram) (in module twtb.logic.telegram.subscribe) S send_message() (AbstractSender method) (MessageSender method) sentry (Config attribute) SentryConfigSection (class in twtb.logic.shared.sentry_config) set() (ChannelInfoInDB method) (SharingMessageInDB method) set_shared_chat() (SharingMessageInDB method) setup_logging() (in module twtb.utils) setup_shared_chat() (in module twtb.logic.telegram.setup_shared_chat) SharedChatIDContainer (class in twtb.logic.telegram.setup_shared_chat) SharingMessageInDB (class in twtb.logic.shared.db.sharing_message) Singleton (class in twtb.utils) start_sentry() (in module twtb.utils) subscribe_to_all_channels() (in module twtb.logic.telegram.subscribe) SUBSCRIBE_TO_WORD (ButtonData attribute) subscribe_user() (Database method) SubscribeToWordButtonHandler (class in twtb.logic.telegram.button_handlers) SUCCESS (LogLevel attribute) T telegram (Config attribute) TelegramConfigSection (class in twtb.logic.telegram.config) TelegramSender (class in twtb.logic.telegram.message_sender) title (ChannelInfo attribute) to_json() (ChannelInfo method) TRACE (LogLevel attribute) traces_sample_rate (SentryConfigSection attribute) twtb module twtb.__main__ module twtb.config module twtb.logic module twtb.logic.shared module twtb.logic.shared.abstractions module twtb.logic.shared.db module twtb.logic.shared.db.channels_info module twtb.logic.shared.db.sharing_message module twtb.logic.shared.logging module twtb.logic.shared.message_handler module twtb.logic.shared.message_sender module twtb.logic.shared.sentry_config module twtb.logic.telegram module twtb.logic.telegram.button_handlers module twtb.logic.telegram.config module twtb.logic.telegram.data module twtb.logic.telegram.message_sender module twtb.logic.telegram.on_message module twtb.logic.telegram.setup_shared_chat module twtb.logic.telegram.subscribe module twtb.utils module U UNSUBSCRIBE_FROM_WORD (ButtonData attribute) unsubscribe_user() (Database method) UnsubscribeFromWordButtonHandler (class in twtb.logic.telegram.button_handlers) username (ChannelInfo attribute) W WARNING (LogLevel attribute)