Skip to content

This is the EchoBot repository for the session done by the Facebook developer Circle: Beirut. This session will be part of the Facebook MasterClass Session on Recurrent Neural Networks

License

Notifications You must be signed in to change notification settings

DevCBeirut/EchoBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Bot

This was part of the Facebook Developer Circle: Beirut. This tutorial is gonna be delivered on Monday, December 18,2017 at 7:30 PM before the Recurrent Neural Network Session.

Prerequisites

  • Account on Telegram

  • Python 2.7 (Does work on python 3 just not my code.)

  • A text editor to edit the code and I way to run it.

    I personally use Atom as a text editor and I compile the code from the terminal using the Run Script Addon. Just make sure you add Python 2.7 to your Path Variable for it work

  • You need to install the following libraries for python: time, grequests, urllib, and json

Description

This bot is a simple repeat after me. The bot simply sends back what the individual sends to it. The session will take 45 minutes from setting up the bot to testing and executing the code.

The main URLs

  • To Send a message

https://api.telegram.org/bot444874958:AAGjLuhNCjvZGJkNnwCCP5c4cffIMy_vkNA/sendMessage?text={}&chat_id={}&parse_mode=markdown

  • To Receive Messages

https://api.telegram.org/bot444874958:AAGjLuhNCjvZGJkNnwCCP5c4cffIMy_vkNA/getUpdates

Extra Resources

About

This is the EchoBot repository for the session done by the Facebook developer Circle: Beirut. This session will be part of the Facebook MasterClass Session on Recurrent Neural Networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%