Giter Site home page Giter Site logo

telepot's Introduction

telepot - Python framework for Telegram Bot API

Recent changes

10.1 (2016-10-25)

  • Used the presence of chat_instance to recognize the flavor callback_query

10.0 (2016-10-19)

  • Implemented Gaming Platform stuff
  • Added game-related methods, e.g. sendGame, setGameScore, etc.
  • Added game-related namedtuple, e.g. InlineQueryResultGame, etc.
  • telepot.glance() may return content type game
  • Added method getWebhookInfo
  • Added new parameters to some methods, e.g. caption for sendAudio(), etc.
  • Handled EventNotFound in IdleEventCoordinator.refresh()

9.1 (2016-08-26)

  • Changed the name pave_callback_query_origin_map() to intercept_callback_query_origin()
  • Added include_callback_query_chat_id()

9.0 (2016-08-25)

  • I am finally satisfied with callback query handling. Many styles of dealing with callback query are now possible.
  • Added a few per_callback_query_*() seeder factories
  • Added a few pair producers, e.g. pave_event_space(), pave_callback_query_origin_map()
  • Added Bot.Scheduler to schedule internal events
  • Invented a standard event format for delegates to create their own events easily
  • Improved Mixin framework. Added StandardEventMixin, IdleTerminateMixin, and InterceptCallbackQueryMixin.
  • Added CallbackQueryOriginHandler
  • Revamped Listener and message capture specifications
  • Default retries=3 for urllib3
  • Relaxed urllib3>=1.9.1 in setup.py

8.3 (2016-07-17)

  • Fixed urllib3==1.9.1 in setup.py

8.2 (2016-07-04)

  • Handling of callback query still unsatisfactory, a transitional release
  • Changed async version to telepot.aio to avoid collision with async keyword
  • Added CallbackQueryCoordinator and CallbackQueryAble to facilitate transparent handling of CallbackQuery
  • Added AnswererMixin to give an Answerer instance
  • Added Timer to express different timeout behaviors
  • Added enable_callback_query parameter to *Handler constructors
  • Added default on_timeout method to @openable decorator
  • Added IdleTerminate and AbsentCallbackQuery as subclasses of WaitTooLong to distinguish between different timeout situations
  • Revamped Listener to handle different timeout requirements
  • Added types parameter to per_chat_id()
  • By default, per_from_id() and UserHandler reacts to non-callback_query only
  • Fixed Bot.download_file()
  • Added docstrings for Sphinx generation
  • Re-organized examples

telepot's People

Contributors

nickoala avatar quasiyoke avatar ayumukasuga avatar boxama avatar zumoshi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.