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... | |
Public Attributes | |
string | Id |
Send a notification message to this user on Telegram Can be either a personal ID or Group ID. More... | |
string | Message |
Message to send. Limited to 4096 characters More... | |
string | Token |
Token to use More... | |
Telegram notification data
Definition at line 163 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 192 of file Notification.cs.
string QuantConnect.Notifications.NotificationTelegram.Id |
Send a notification message to this user on Telegram Can be either a personal ID or Group ID.
Definition at line 169 of file Notification.cs.
string QuantConnect.Notifications.NotificationTelegram.Message |
Message to send. Limited to 4096 characters
Definition at line 175 of file Notification.cs.
string QuantConnect.Notifications.NotificationTelegram.Token |
Token to use
Definition at line 181 of file Notification.cs.