|
Lean
$LEAN_TAG$
|
Telegram notification data More...
Public Member Functions | |
| NotificationTelegram (string id, string message, string token=null) | |
| Constructor for sending a telegram notification to a specific User ID or group ID. Note: The bot must have an open chat with the user or be added to the group for messages to deliver. More... | |
Public Member Functions inherited from QuantConnect.Notifications.Notification | |
| virtual void | Send () |
| Method for sending implementations of notification object types. More... | |
Properties | |
| string | Id [get, set] |
| Send a notification message to this user on Telegram Can be either a personal ID or Group ID. More... | |
| string | Message [get, set] |
| Message to send. Limited to 4096 characters More... | |
| string | Token [get, set] |
| Token to use More... | |
Telegram notification data
Definition at line 165 of file Notification.cs.
| QuantConnect.Notifications.NotificationTelegram.NotificationTelegram | ( | string | id, |
| string | message, | ||
| string | token = null |
||
| ) |
Constructor for sending a telegram notification to a specific User ID or group ID. Note: The bot must have an open chat with the user or be added to the group for messages to deliver.
| id | User Id or Group Id to send the message too |
| message | Message to send |
| token | Bot token to use, if null defaults to "telegram-token" in config on send |
Definition at line 194 of file Notification.cs.
|
getset |
Send a notification message to this user on Telegram Can be either a personal ID or Group ID.
Definition at line 171 of file Notification.cs.
|
getset |
Message to send. Limited to 4096 characters
Definition at line 177 of file Notification.cs.
|
getset |
Token to use
Definition at line 183 of file Notification.cs.