Jannes Höke
1951d6fdcd
Bump version to v6.0.2
2017-05-29 21:24:12 +02:00
azogue
84b59c8cb2
unittest sending non standard jpg photo with bytesio stream
2017-05-29 09:38:02 +02:00
azogue
b46bdf5304
fix setting default mimetype of inputfile
2017-05-29 08:30:29 +02:00
Noam Meltzer
cd24bb4ba5
payment: Small fixes
...
- Semantic fixes bot.py (if XXX is not None: ...).
- Documentation fixes (arguments which are optional).
2017-05-26 20:02:18 +03:00
Noam Meltzer
ae33d33580
Merge pull request #625 from python-telegram-bot/videonote
...
Add VideoNote
2017-05-26 19:34:13 +03:00
Noam Meltzer
706f79fa99
Fix setup.py with urllib3 vendoring
...
fixes #635
2017-05-26 19:24:54 +03:00
Noam Meltzer
a5bfc52326
videonote: Semantic fix according to CR
2017-05-26 18:36:21 +03:00
Noam Meltzer
858684ab64
Merge pull request #628 from python-telegram-bot/may18minor
...
May 18 minor changes
2017-05-26 18:23:31 +03:00
Jacob Bom
f4c6197c5f
Update filters to new_chat_members instead of new_chat_member
2017-05-25 14:45:47 +02:00
Jacob Bom
a7044562af
Fix stuff as per @tsnoam's comments
2017-05-25 14:16:53 +02:00
Jacob Bom
27a4fa8dba
Move *_duration attributes as to keep backwardscompat
2017-05-25 14:05:08 +02:00
Jacob Bom
a41ee3b040
Actually deprecate new_chat_member to help users switch
2017-05-25 14:02:41 +02:00
Jacob Bom
8499dcc33c
Better deprecation warnings
...
Actually shows where in the users code the error happened, not just where the warning came from in our internal code
2017-05-25 13:53:35 +02:00
Noam Meltzer
ff897ce9ef
Avoid confusion with user's urllib3 by renaming vendored urllib3
2017-05-24 13:14:33 +03:00
Jeff
f314915954
fix typo again
2017-05-23 16:26:04 +08:00
Jeff
1bf0078573
add missing "need_email" in sendInvoice, fix pep8/flake
2017-05-23 16:21:45 +08:00
Jeff
1210e4ef04
Finalize Payment API
...
bugfixes
added payment-related handlers
2017-05-23 02:19:23 +08:00
Jeff
05ed693fb6
fix authors typo
2017-05-22 18:11:19 +00:00
Jeff
18822d1396
Merge branch 'fix-paymenthandlers' into paymenthandlers-final
2017-05-22 17:47:43 +00:00
Jeff
73ac259721
fix typo...
2017-05-23 00:13:30 +08:00
Jeff
96171112bf
fix crucial typo in filters
2017-05-22 23:42:09 +08:00
Jeff
27238c52e2
add successful_payment filter under message
2017-05-22 23:39:28 +08:00
Jeff
43f4128b31
fix answer* methods not sending api requests
2017-05-22 22:55:19 +08:00
Jeff
1142953108
add checks for answer* methods
2017-05-22 22:47:35 +08:00
Jeff
1e250f2415
add kwargs to answer* methods
2017-05-22 21:37:15 +08:00
Jeff
8f2f29c7d4
fix typo, add bot and kwargs to class init
2017-05-22 21:32:42 +08:00
Jeff
3767d26fc8
Add both handlers for queries from new Payment API ( #630 )
...
* add handlers for new payment API
* fix typo
* fix docstring mistakes
* added missing 'from_user'
2017-05-22 14:07:53 +02:00
Jeff
a78f72c086
added missing 'from_user'
2017-05-22 20:04:03 +08:00
Jeff
cc03649f1c
fix docstring mistakes
2017-05-22 19:59:13 +08:00
Jeff
ee057e76ef
fix typo
2017-05-22 19:42:48 +08:00
Jeff
2c05b03fba
add handlers for new payment API
2017-05-22 19:20:26 +08:00
Jacob Bom
630b63ec10
Add payment filters
2017-05-22 12:13:00 +02:00
Jannes Höke
23b37c9ea4
mention beta version in README
2017-05-21 22:10:08 +02:00
Jacob Bom
01430a24a5
Import order fix
2017-05-21 15:51:01 +02:00
Jacob Bom
acda19b7e7
Merge branch 'may18minor' into beta
2017-05-21 15:45:40 +02:00
Jacob Bom
48fa3d975b
Merge branch 'videonote' into beta
...
# Conflicts:
# telegram/__init__.py
# telegram/message.py
2017-05-21 15:45:20 +02:00
Jacob Bom
d220ff4e38
Merge branch 'payment' into beta
2017-05-21 15:42:24 +02:00
Jacob Bom
5a15d1b5d6
Add mpeg4_duration and gif_duration to inline gif and mpeg4gif
2017-05-21 14:38:12 +02:00
Jacob Bom
ad347b5c02
new_chat_member -> new_chat_members
...
Keep old for now... we can remove it in the future when telegram stops parsing it along.
Also: TODO: write proper Message tests
2017-05-21 14:32:36 +02:00
Jannes Höke
017fdeaae8
run yapf with --diff
2017-05-21 14:29:24 +02:00
Jannes Höke
ba6c4fd517
Bump version to v6.0.1
2017-05-21 14:25:40 +02:00
Jacob Bom
99ecac5649
assertRaisesRegex doesn't exist on py2 (also fuck yapf)
...
This deprecation is totally gonna come back and bite us when the regexp
gets removed completely in never version´
2017-05-21 14:10:55 +02:00
Jannes Höke
1c4c228cf1
add support for User.language_code ( #624 )
...
* add support for User.language_code
* Add language filter
Useful is you wanna do something like restrict your shop to a single or a few locales or something like that.
2017-05-21 14:00:53 +02:00
Jacob Bom
2e89e21261
Fix text_markdown and text_html ( #623 )
...
* Fix text_markdown and text_html
* Missed a few narrow build checks
* Added tests for emoji-first strings and emojis in url
2017-05-21 14:00:07 +02:00
Jacob Bom
7583fa9d65
Tests for video notes
2017-05-21 13:51:58 +02:00
Jacob Bom
2dd5290ec2
Add reply_video_note in line with other reply_*
2017-05-21 13:51:27 +02:00
Jacob Bom
41299244b7
Allow InputFile to handle video notes
2017-05-21 13:50:52 +02:00
Jacob Bom
0e2bcf28a6
Export VideoNote
2017-05-21 13:50:15 +02:00
Jacob Bom
2746ab77e5
Add sendVideoNote to Bot
2017-05-20 19:35:55 +02:00
Jacob Bom
ae39c902ed
Add video_note to Message
2017-05-20 19:30:07 +02:00