Commit Graph

42 Commits

Author SHA1 Message Date
c9s
d1cfaec7d3 notifier/telegramnotifier: check chats map 2022-01-16 01:00:15 +08:00
c9s
b80f481e7d interact: fix interact tests for session 2022-01-16 00:50:43 +08:00
c9s
d5f3946ada bbgo: refactor the current auth with interact 2022-01-15 00:18:07 +08:00
c9s
41b94c5c7e interact: refactor telegram interaction 2022-01-14 15:03:19 +08:00
c9s
97ca304bec telegramnotifier: add SetOwner method 2022-01-14 13:31:31 +08:00
c9s
dd93ee4fd3 move methods to telegramnotifier 2022-01-14 13:31:31 +08:00
c9s
db8a74238e notifier/telegramnotifier: remove debug log 2022-01-12 11:18:36 +08:00
c9s
9a589bf71c show broadcast enabled 2021-11-25 18:49:29 +08:00
c9s
032b62e4e1 broadcast should also send message to owner 2021-11-25 16:22:20 +08:00
c9s
fc81f7b6cb add Command function 2021-11-25 11:54:09 +08:00
c9s
6326d52c1b add /start command 2021-11-25 11:52:14 +08:00
c9s
8acc2cd87f fix chat nil pointer issue 2021-11-25 11:50:14 +08:00
c9s
2b17124d06 telegramnotifier: support broadcast flag 2021-10-15 18:01:11 +08:00
c9s
6c46c2cad1 telegramnotifier: add broadcast option 2021-10-15 16:10:25 +08:00
c9s
01f6d70d28 telegramnotifier: add broadcast function and subscribe command 2021-10-15 12:14:15 +08:00
c9s
a1779b6823 telegramnotifier: add warning 2021-10-15 12:03:15 +08:00
c9s
08c300fbad add warning if owner's chat is not configured 2021-10-15 11:56:17 +08:00
c9s
0fe11438bd telegramnotifier: rename Chat to OwnerChat 2021-10-15 11:55:05 +08:00
c9s
3c4eb5aec7 telegram: add more emojis 2021-06-09 01:37:09 +08:00
c9s
89c3df730b telegram: add emoji for greetings 2021-06-09 01:37:04 +08:00
c9s
e8205556ff show bbgo version name 2021-06-07 00:57:47 +08:00
c9s
b4f6653ccc prefer PlainText interface over String interface 2021-05-16 01:21:35 +08:00
c9s
638cc40516 fix notification arguments 2021-05-15 09:59:17 +08:00
c9s
e3cb2ad86c fix telegram arguments index update 2021-05-14 14:57:22 +08:00
c9s
807c049d63 refactor notifiers and add liquidity field to the trade 2021-05-12 12:37:48 +08:00
Jui-Nan Lin
1b953d88d4 feat: allow bot send to group 2021-04-03 12:50:13 +08:00
c9s
fa4e813729 resolve cyclic imports 2021-02-21 01:01:39 +08:00
c9s
deb9a29521 support one-time password 2020-12-11 17:07:19 +08:00
c9s
f4ef19e5d6 implement PlainText for telegram bot 2020-12-11 15:58:05 +08:00
c9s
6af88a2a87 add interaction callbacks 2020-12-11 14:40:18 +08:00
c9s
45bc4dc9eb refactor telegram notifier with interaction component 2020-12-11 14:40:04 +08:00
c9s
6b760c72b7 use bot token prefix as the redis store namespace 2020-12-08 16:28:55 +08:00
c9s
53d7fb5611 support telegram chat user persistence 2020-12-08 15:03:52 +08:00
c9s
4316f1fada pull out bot initialization 2020-12-08 14:25:30 +08:00
c9s
55cd0c6a6e pull out bot initialization to run 2020-12-08 14:20:49 +08:00
David Chang
9f92fcf2e4 chore: rename telegram init to telegram auth 2020-12-06 13:59:47 +08:00
David Chang
58aadd9f45 fix: use correct format for log 2020-12-06 13:47:52 +08:00
David Chang
9e4602cf66 fix: allow upadte telegram chat user with bot command 2020-12-06 13:02:21 +08:00
David Chang
a55cd02e21 feature: add info command 2020-12-06 12:34:43 +08:00
David Chang
f9124aa907 fix: telegram bot send message to correct user 2020-12-06 12:11:27 +08:00
David Chang
7caf986d11 fix: change warning type from user to username 2020-12-05 14:28:48 +08:00
David Chang
b2d9bd0312 feature: add telegram bot notifier 2020-12-05 14:20:27 +08:00