Skip to content

akoshochrein/python-messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Messenger bot template in python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages