Skip to content

crazygit/post-telegram-action

Repository files navigation

Post Fiance and Digital Currency News every 5 minutes

Post convertible boud trading message on every work day.

Telegam频道消息发布

Telegram频道

如何获取chat_id

参考: https://stackoverflow.com/a/50661601/1957625

  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.

鸣谢

感谢Github action的免费支持

感谢Telegram

About

Post convertible bond trading message on every work day

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages