Ruby wrapper for Telegram's Bot API.
This is Telegram_bot on telegrame-messenger with the name of @FloresFF_bot it's a translator bot in order to translate from English to French built with Ruby .And this is my capstone Ruby project
-Ruby
• Click on the Link link
• In telegram, search for @FloresFF_bot
We are going to use ruby program to write the code, it is necessary to install this program in your machine. In order to do so, Please read this ruby installation documentation and follow the instructions.
- Follow this link Telegrame-messenger
- Use the API RapidAPI
1- In your terminal run git clone https://github.com/rahalrazika/telegramebot.git
2- cd telegramebot
3- create a .env file
4- Copy the code in env_file.txt
5- If you want a new token go to your telegram account and search for @BotFather. Press start and send the command /newbot. You will get a reply with all your bots information including your TOKEN in it. In our case, you don't need to create a new token you can simply search for @FloresFF_bot in telegram app
6- Run bundle -> To install all gems
Run bin/main.rb
- Run gem install rspec -> to install rspec
- Run rspec
- Run bin/main.rb
- Open bot discussion on telegram app
👤 Razika
- Github: @rahalrazika
- Linkedin : Razika Rahal
- Twitter: @RereRere055
- To contribute to this project:
- Fork this repository & clone locally.
- Create an upstream remote and sync your local copy.
- create a new branch.
- Push your code to your origin repository.
- Create a new Pull Request .
Give a ⭐️ if you like this project!
- Microverse
- telegram-bot-ruby