Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Telegram Gmail Bot (Google Script Version) The most stable, Simplest, No maintaining Time, No Python Server Host, Easiest, No Python,

License

Notifications You must be signed in to change notification settings

umzr/Telegram-TradingView-Gmail-Bot-Google-Script-Version-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Gmail Bot (Google Script Version)

The most stable, Simplest, No maintaining Time, No Python Server Host, Easiest, No Python, Telegram Gmail Bot (Google Script Version)

Auto push gmail to telegram channel or group [Send gmail message 去 Telegram Bot / group / chat]

issues forks stars

Document仲未搞掂 (finish)
Document in progress (finish)
TL;DR: Call gmail API and connect telegram bot

NEW

(5/6/2022): updated split function. It could fix the Telegram max 4096 character problems. Demo: image

introduction 介紹

Author 作者:
風信子(Hyacinthus orientalis -- HO): Telegram
UMZR: Github
Any Question Please Post on Github Issue

點解會放上網? 因為我前嗰排(2022)搵唔到 intern。迫不得已求其搵啲project 掉上去Github,希望有人收留我。
Why I push this things to Github? Cos I need Intern Job, So I some project on Github.

同埋小弟日日睇股票,希望整啲BOT令我自己唔使日日睇市。要記住美國佬瞓醒覺就會搞掂。
Thus, I always watch US stock market. So HO and I created this bot to save some time not to watch the US stock market. Well, you know, all market are bullish when you wake up.

例如:我哋可以喺gmail收到 TradingView alert
For example, we can receive tradeview alert from gmail
image

個Bot就會自動射啲message過去Telegram
The bot will send message to Telegram automatically.
image

Instruction 點樣 Deploy (in progress)

  1. goto @BotFather create new bot
    1.1 you will recerive the API key for the connect the google script

     Done! Congratulations on your new bot. You will find it at <link> You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.
    
     Use this token to access the HTTP API:
     `HTTP API`
     Keep your token secure and store it safely, it can be used by anyone to control your bot.
    
     For a description of the Bot API, see this page: https://core.telegram.org/bots/api
    

    you will recerve the HTTP API like:
    413425428964:AIGoToSchoolByBusgprovaFkfXY (just example)

  2. Open Google Script and plate my code
    Youtube Video Tutorial

  3. Find your group Chat ID by using @ShowJsonBot (something kind of this I haven't test on this)

  4. Plate your group chat ID to my code clientID and HTTP API to TelegramBotToken

  5. Change the search variable var threads = GmailApp.search('is:unread subject:{<Target Title>}'); (line 34)
    And if (message[0].getSubject() == "<Target Title>") (line 43)

  6. Set the Simple Triggers for each second.

  7. Deploy your App

  8. Enjoy your Bot

Instruction 點樣 Deploy (old version)

  1. goto @BotFather create new bot
  2. copy my script to google script.
  3. plate TelegramBotToken and clientID to my script
  4. set Webhook https://api.telegram.org/bot<TelegramBotToken>/setWebhook?url=<Current web app URL:>
  5. set timmer to Triggers the google web app
  6. finish

FAQ 你問我答

  1. Q: 點解樓主英文咁差?
    Q: Why the author's English grammar is poor?

    A: 我讀緊香港中文大學 👍
    A: I am studing at The Chinese University of Hong Kong. 👍

  2. Q: 點解仲係睇唔明?
    Q: Why is still unreadable?

    A: Code 就搞掂咗嘅,我 RUN 咗成年,de 唔 deploy 到睇緣份
    A: Translate Server Error (I need some time to do the document. )

  3. Q: 請說中文,我看不懂你說什麼?
    Q: Please speak Chinese, I don't understand what you are writting.

    A: ......
    A: Read English.

  4. Q: 同樣係中文字,點解用唔到google翻譯?
    Q: Why Google translate output some shit?

    A: 係囉,咁奇怪。
    A: This is Cantonese 廣東話

  5. Q: 點解樓主咁得閒整呢啲嘢?
    Q: Why Author made this Bot?

    A: 沒有offer 的 31 天
    A: no intern offer 31 days

  6. Q: How to support me for this project?
    A: buy me some coffee:
    (BTC native segwit)

    • bc1qyjzc4slfzm5fwlacezqypkkaa04p3fe8j8wxgd

Keyword

Telegram BOT IFTTT TradingView Alert Alarm

買______記住,升就追,跌就溝,出糧就入貨
止蝕係多餘,回調姐係特價
止賺都係多餘,高處未算高
最好供埋______,心雄既就買埋call
乜春波動大,槓桿損耗乜乜柒柒理撚得佢,呢啲野唔係我地諗得明,有咩危機美國佬會搞掂,美帝緊張過你,信自己不如信美帝金融霸權

Remember to buy ______, catch up when you rise, ditch when you fall, and buy in when you export grain

Stop loss department is redundant, call back sister department special price

Just making money is superfluous, and the heights are not high

The volatility of Niechun is big, and the loss of leverage is too much to twist. It is not easy to understand that if there is a crisis, the Yankees will be troubled. The American emperor is nervous about you. Believing in yourself is worse than believing in the American financial hegemony.

Telegram-Gmail-Bot-Auto-push-gmail-to-telegram-channel-or-group

Last Commit 最後修改日期:

About

Telegram Gmail Bot (Google Script Version) The most stable, Simplest, No maintaining Time, No Python Server Host, Easiest, No Python,

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published