Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Bot class for Facebook Messenger

Project description

# python-messenger
Messenger bot base class for python applications

## Example

from messenger import Bot

class EchoBot(Bot):
def handle_message(self, messaging_event):
self.send_text_message(messaging_event['sender']['id'], messaging_event['message']['text'])

## Contributing

### Installation
virtualenv virtualenv
source virtualenv/bin/activate
pip install -r requirements.txt

### Tests
source virtualenv/bin/activate
pytest messenger

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-messenger-0.1.2.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page