You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/GETTING-STARTED.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,9 @@ To add new Config Vars in Heroku:
135
135
| NOTIFIER_GMAIL_APP_PASSWORD | string | Gmail password to get notifications |
136
136
| IS_NOTIFIER_TELEGRAM_ENABLED | true / false | Selects if Telegram will be used
137
137
| NOTIFIER_TELEGRAM_API_KEY | string | Telegram Key for your bot (To create one follow https://core.telegram.org/bots#6-botfather)
138
-
| NOTIFIER_TELEGRAM_RECEIVER_ID | string | Unique identifier for the target chat or username of the target channel (in the format @channelusername)
138
+
| NOTIFIER_TELEGRAM_RECEIVER_ID | string | Unique identifier for the target chat (as a number) or username of the target channel (in the format @channelusername)
139
+
140
+
*If you want to use Telegram and don't know your Chat ID, set the NOTIFIER_TELEGRAM_RECEIVER_ID to a dummy value, start the trader (you will see errors in the log), then use the /info command in Telegram and it will respond with the ID that you can use.*
Copy file name to clipboardExpand all lines: src/trader/env.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ export function getDefault(): Readonly<any> {
35
35
// Then talk to the @userinfobot at Telegram, and it will give you your personal receiver ID, and thats what you use for the TELEGRAM_RECEIVER_ID
36
36
IS_NOTIFIER_TELEGRAM_ENABLED: bool({default: false,desc: "Selects if Telegram will be used"}),
37
37
NOTIFIER_TELEGRAM_API_KEY: str({default: "",desc: "Telegram Key for your bot (To create one follow https://core.telegram.org/bots#6-botfather)"}),
38
-
NOTIFIER_TELEGRAM_RECEIVER_ID: str({default: "",desc: "Unique identifier for the target chat or username of the target channel (in the format @channelusername)"}),
38
+
NOTIFIER_TELEGRAM_RECEIVER_ID: str({default: "",desc: "Unique identifier for the target chat (as a number) or username of the target channel (in the format @channelusername)"}),
39
39
40
40
// Additional configuration options for trader features
41
41
IS_BUY_QTY_FRACTION: bool({default: false,desc: "Uses the 'Quantity to Buy' from the NBT Hub as a fraction of your wallet balance (e.g. 0.1 is 10%)"}),
0 commit comments