update and cleanup repo
This commit is contained in:
@@ -194,7 +194,7 @@ class Telegram(Provider):
|
||||
def __init__(self, config: Optional[Dict[str, Any]] = None):
|
||||
super().__init__(config)
|
||||
telegram_conf = (
|
||||
self.config.get("provider",
|
||||
self.config.get("plugin",
|
||||
{}).get("telegram",
|
||||
{}) if isinstance(self.config,
|
||||
dict) else {}
|
||||
@@ -1280,7 +1280,7 @@ class Telegram(Provider):
|
||||
|
||||
info: Dict[str,
|
||||
Any] = {
|
||||
"provider": "telegram",
|
||||
"plugin": "telegram",
|
||||
"source_url": url,
|
||||
"chat": {
|
||||
"key": chat,
|
||||
|
||||
Reference in New Issue
Block a user