https://github.com/crazygit/post-telegram-action
Post convertible bond trading message on every work day
https://github.com/crazygit/post-telegram-action
Last synced: 5 months ago
JSON representation
Post convertible bond trading message on every work day
- Host: GitHub
- URL: https://github.com/crazygit/post-telegram-action
- Owner: crazygit
- Created: 2020-04-09T08:04:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-08-23T14:49:08.000Z (10 months ago)
- Last Synced: 2025-08-24T03:04:22.475Z (10 months ago)
- Language: Python
- Size: 108 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README


## Telegam频道消息发布
### Telegram频道
* 财经资讯7x24:
* 币圈资讯7x24:
* 可转债打新:
### 如何获取chat_id
参考:
1. Invite `@getidsbo` or `@RawDataBot` to your group and get your group id in sended chat id field.
Message
├ message_id: 338
├ from
┊ ├ id: *****
┊ ├ is_bot: false
┊ ├ first_name: 사이드
┊ ├ username: ******
┊ └ language_code: en
├ chat
┊ ├ id: -1001118554477 // This is Your Group id
┊ ├ title: Test Group
┊ └ type: supergroup
├ date: 1544948900
└ text: A
2. Get from web page
1. Goto (https://web.telegram.org)
2. Goto your Gorup and Find your link of Gorup(https://web.telegram.org/#/im?p=g154513121)
3. Copy That number after g and put a (-) Before That -154513121
4. Send Your Message to Gorup bot.sendMessage(-154513121, "Hi")
3. If you use channel id, Don't forget add '@' symbole before it.
## 运行
```
$ uv sync
$ uv run main.py finance -t -c -i 300
```
## 鸣谢
**感谢`Github action`的免费支持**
**感谢Telegram**