MCPcopy Index your code
hub / github.com/CryptoSignal/Crypto-Signal / notify_telegram

Method notify_telegram

app/notification.py:173–186  ·  view source on GitHub ↗

Send a notification via the telegram notifier Args: new_analysis (dict): The new_analysis to send.

(self, new_analysis)

Source from the content-addressed store, hash-verified

171
172
173 def notify_telegram(self, new_analysis):
174 """Send a notification via the telegram notifier
175
176 Args:
177 new_analysis (dict): The new_analysis to send.
178 """
179
180 if self.telegram_configured:
181 message = self._indicator_message_templater(
182 new_analysis,
183 self.notifier_config['telegram']['optional']['template']
184 )
185 if message.strip():
186 self.telegram_client.notify(message)
187
188
189 def notify_webhook(self, new_analysis):

Callers 1

notify_allMethod · 0.95

Calls 2

notifyMethod · 0.45

Tested by

no test coverage detected