Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Latest commit

 

History

History
105 lines (69 loc) · 3.56 KB

CHANGELOG.md

File metadata and controls

105 lines (69 loc) · 3.56 KB

telepot changelog

6.3 (2016-02-06)

  • Added Answerer class to better deal with inline queries
  • Made telepot.glance() equivalent to telepot.glance2(). Developers are encouraged to use telepot.glance() from now on.
  • Added telepot.flance(), a combination of telepot.flavor() and telepot.glance().

6.2 (2016-01-18)

  • Handle new field chosen_inline_result in Update object
  • telepot.flavor() returns a new flavor chosen_inline_result
  • Added telepot.namedtuple.ChosenInlineResult class

6.1 (2016-01-13)

  • Changed normal message's flavor to normal

6.0 (2016-01-13)

  • Moved all namedtuple-related stuff to a new module telepot.namedtuple. All calls to the function telepot.namedtuple() should be changed to telepot.namedtuple.namedtuple()
  • Added a function telepot.flavor() to differentiate between a normal message and an inline query
  • Added flavor parameter to telepot.glance2() to extract info according to message flavor
  • notifyOnMessage() and messageLoop() can handle inline query as well as normal chat messages
  • Added a few per_XXX_id() functions useful for spawning delegates for inline queries
  • Added UserHandler
  • reply_markup parameter can accept namedtuples ReplyKeyboardMarkup, ReplyKeyboardHide, ForceReply as values

5.0 (2015-12-28)

  • Added webhook interface
  • Added supergroup_chat_created, migrate_to_chat_id, migrate_from_chat_id, and channel_chat_created fields to Message

4.1 (2015-11-03)

  • Added openable() class decorator
  • Default on_close() prints out exception
  • Async SpeakerBot and DelegatorBot constructor accepts loop parameter

4.0 (2015-10-29)

  • Revamped Listener and ChatHandler architecture
  • Added create_open()

3.2 (2015-10-13)

  • Conforms to latest Telegram Bot API as of October 8, 2015
  • Added Chat class, removed GroupChat
  • Added glance2()

3.1 (2015-10-08)

  • Added per_chat_id_except()
  • Added lock to Microphone, make it thread-safe

3.0 (2015-10-05)

  • Added listener and delegation mechanism

2.6 (2015-09-22)

  • Conforms to latest Telegram Bot API as of September 18, 2015
  • Added getFile() and downloadFile() method
  • Added File namedtuple
  • Removed file_link field from namedtuples

2.51 (2015-09-17)

  • In async messageLoop(), a regular handler function would be called directly, whereas a coroutine would be allocated a task, using BaseEventLoop.create_task().
  • In messageLoop() and notifyOnMessage(), the relax time default is now 0.1 second.

2.5 (2015-09-15)

  • Fixed pip install syntax error
  • Having wasted a lot of version numbers, I finally get a better hang of setup.py, pip, and PyPI.

2.0 (2015-09-11)

  • Conforms to latest Telegram Bot API as of September 7, 2015
  • Added an async version for Python 3.4
  • Added a file_link field to some namedtuples, in response to a not-yet-documented change in Bot API
  • Better exception handling on receiving invalid JSON responses

1.3 (2015-09-01)

  • On receiving unexpected fields, namedtuple() would issue a warning and would not break.

1.2 (2015-08-30)

  • Conforms to latest Telegram Bot API as of August 29, 2015
  • Added certificate parameters to setWebhook()
  • Added telepot.glance() and telepot.namedtuple()
  • Consolidated all tests into one script

1.1 (2015-08-21)

  • Use MIT license

1.0 (2015-08-20)

  • Conforms to latest Telegram Bot API as of August 15, 2015
  • Added sendVoice()
  • Added caption and duration parameters to sendVideo()
  • Added performer and title parameters to sendAudio()
  • Test scripts test the module more completely