You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Function `telepot.namedtuple.namedtuple` was removed. Create namedtuples using their constructors directly.
228
-
- Function `telepot.glance2` was removed. Use `telepot.glance`.
229
-
- Chat messages' content type returned by `telepot.glance`:
227
+
- Function `gramscript.namedtuple.namedtuple` was removed. Create namedtuples using their constructors directly.
228
+
- Function `gramscript.glance2` was removed. Use `gramscript.glance`.
229
+
- Chat messages' content type returned by `gramscript.glance`:
230
230
-`new_chat_participant` → `new_chat_member`
231
231
-`left_chat_participant` → `left_chat_member`
232
232
@@ -244,14 +244,14 @@ callback query are now possible.
244
244
245
245
- Changed `Answerer` interface. Compute function is now passed to method `answer()`, not to the constructor.
246
246
- Added parameter `disable_notification` to methods `sendZZZ()`
247
-
- Added function `telepot.delegate.per_application()` and `per_message()`
247
+
- Added function `gramscript.delegate.per_application()` and `per_message()`
248
248
- Used `data` to pass POST parameters to prevent too-long query strings on URL
249
249
- Async version support pushed back to Python 3.4.2
250
250
251
251
## 6.5 (2016-02-21)
252
252
253
253
- Supports file-like object and filename when sending files
254
-
- Moved all exceptions to module `telepot.exception`
254
+
- Moved all exceptions to module `gramscript.exception`
255
255
- Expanded testing to Python 3.5
256
256
257
257
## 6.4 (2016-02-16)
@@ -260,30 +260,30 @@ callback query are now possible.
260
260
- As an alternative to implementing `Bot.handle(msg)`, you may implement `Bot.on_chat_message(msg)`, `Bot.on_inline_query(msg)`, and `Bot.on_chosen_inline_result(msg)` as needed.
261
261
- As an alternative to implementing `ZZZHandler.on_message()`, you may implement `ZZZHandler.on_chat_message(msg)`, `ZZZHandler.on_inline_query(msg)`, and `ZZZHandler.on_chosen_inline_result(msg)` as needed.
262
262
-`notifyOnMessage()` and `messageLoop()` accept a dict as callback, routing messages according to flavor.
263
-
- Added function `telepot.flavor_router()`, classes `telepot.helper.Router` and `telepot.helper.DefaultRouterMixin`, and their async counterparts to facilitate message routing.
264
-
- Many functions in `telepot.delegate` and `telepot.helper` now have aliases in their respective async modules, making imports more symmetric.
263
+
- Added function `gramscript.flavor_router()`, classes `gramscript.helper.Router` and `gramscript.helper.DefaultRouterMixin`, and their async counterparts to facilitate message routing.
264
+
- Many functions in `gramscript.delegate` and `gramscript.helper` now have aliases in their respective async modules, making imports more symmetric.
265
265
266
266
## 6.3 (2016-02-06)
267
267
268
268
- Added `Answerer` class to better deal with inline queries
269
-
- Made `telepot.glance()` equivalent to `telepot.glance2()`. Developers are encouraged to use `telepot.glance()` from now on.
270
-
- Added `telepot.flance()`, a combination of `telepot.flavor()` and `telepot.glance()`.
269
+
- Made `gramscript.glance()` equivalent to `gramscript.glance2()`. Developers are encouraged to use `gramscript.glance()` from now on.
270
+
- Added `gramscript.flance()`, a combination of `gramscript.flavor()` and `gramscript.glance()`.
271
271
272
272
## 6.2 (2016-01-18)
273
273
274
274
- Handle new field `chosen_inline_result` in Update object
275
-
-`telepot.flavor()` returns a new flavor `chosen_inline_result`
276
-
- Added `telepot.namedtuple.ChosenInlineResult` class
275
+
-`gramscript.flavor()` returns a new flavor `chosen_inline_result`
276
+
- Added `gramscript.namedtuple.ChosenInlineResult` class
277
277
278
278
## 6.1 (2016-01-13)
279
279
280
280
- Changed normal message's flavor to `normal`
281
281
282
282
## 6.0 (2016-01-13)
283
283
284
-
- 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()`
285
-
- Added a function `telepot.flavor()` to differentiate between a normal message and an inline query
286
-
- Added `flavor` parameter to `telepot.glance2()` to extract info according to message flavor
284
+
- Moved all namedtuple-related stuff to a new module `gramscript.namedtuple`. All calls to the function `gramscript.namedtuple()` should be changed to `gramscript.namedtuple.namedtuple()`
285
+
- Added a function `gramscript.flavor()` to differentiate between a normal message and an inline query
286
+
- Added `flavor` parameter to `gramscript.glance2()` to extract info according to message flavor
287
287
-`notifyOnMessage()` and `messageLoop()` can handle inline query as well as normal chat messages
288
288
- Added a few `per_XXX_id()` functions useful for spawning delegates for inline queries
289
289
- Added `UserHandler`
@@ -352,7 +352,7 @@ callback query are now possible.
352
352
353
353
- Conforms to latest Telegram Bot API as of August 29, 2015
354
354
- Added `certificate` parameters to `setWebhook()`
355
-
- Added `telepot.glance()` and `telepot.namedtuple()`
355
+
- Added `gramscript.glance()` and `gramscript.namedtuple()`
0 commit comments