Eldinnie
8d1d38cc4c
send_* now accepts tg-objects ( #742 )
...
Fixes #731
2017-07-25 01:35:22 +03:00
Rahiel Kasim
19ce9e4512
Delete deprecated code ( #693 )
...
* remove Botan import from utils
* remove telegram.Emoji
* remove ReplyKeyboardHide
* remove edit_message argument of bot.set_game_score
2017-07-23 22:58:20 +03:00
Jacob Bom
5a37af6f89
Bot api 3.2 ( #732 )
...
NOTE: Currently not testing StickerSet in terms of bot methods (interaction with telegrams servers) as there's no delete operations.
2017-07-22 14:34:51 +03:00
Eldinnie
b4b0eb4686
Tests files from website ( #687 )
...
Use website for send from url tests instead of github.
2017-06-23 21:10:43 +03:00
Eldin
cedc38dcdf
finalising
...
* Added telegram.jpg to gitignore since we're downloading it now
* moved download tests to the right tests to make test_file file_id free
2017-06-22 18:29:21 +02:00
Eldin
ac0793caa2
test_sticker modified
...
* cleanup assertions in test_video
* modify test_sticker to same standard as the others.
2017-06-22 18:04:19 +02:00
Jacob Bom
1b7f83625c
Update copyright notice to include 2017
...
Not strictly needed, but it helps show that the project is being actively
developed which I find important.
2017-05-15 00:36:49 +03:00
Jacob Bom
da01601ff9
Add equality rich comparision operators to telegram objects ( #604 )
...
fixes #587
2017-05-15 00:29:31 +03:00
Rahiel Kasim
0507378509
fix typo's ( #523 ) and comment out failing sticker test
2017-02-18 16:03:50 +01:00
Rahiel Kasim
659ac52d92
fix tests (telegram cache file_id's)
2017-02-05 23:10:48 +01:00
Noam Meltzer
78088f4f6a
Fix grammer: 'a object' -> 'an object'
2016-10-17 01:22:40 +03:00
Noam Meltzer
5b8efe0c14
upgrade yapf to ver 0.12.2
2016-10-12 23:56:57 +03:00
Jannes Höke
5116a77221
Class methods ( #362 )
...
* bot.py: add create_references method
* create bot reference in webhook handler, use create_references on new updates
* message.py: implement reply_text
* echobot2.py: use Message.reply_text
* fix create_references in webhook handler
* add some more instance methods
* Chat.kick_member and unban_member
* bot.py: Create bot references in outgoing messages
* add tests for everything testable
* test_updater.py: add create_references method to MockBot
* remove Bot.create_references and refactor TelegramObject.de_json to take the additional parameter bot
* List bot as named kwarg where used
* file.py: Use Bot.request property instead of Bot._request attr
2016-09-20 06:36:55 +02:00
Leandro Toledo
880746baed
Column width to 90 #259
2016-05-14 21:52:35 -03:00
Jannes Höke
4d8174edc3
check for py2 and decode
2016-05-12 08:31:47 +02:00
Jannes Höke
235bb72702
use future.utils.text_to_native_str
2016-05-12 08:17:05 +02:00
Rahiel Kasim
9a5ccb1c2d
fix sticker emoji test
...
We always get utf-8 text from Telegram, so we compare to that.
2016-05-12 01:10:04 +02:00
Jannes Höke
c551d71735
add emoji field to sticker
2016-05-11 23:19:35 +02:00
Jannes Höke
7f463131aa
re-order imports
2016-04-27 00:28:21 +02:00
Leandro Toledo
35f6de326b
Add InlineKeyboardButtonTest and reformatting.
2016-04-26 18:23:15 -03:00
Leandro Toledo
ca1fff25f7
Some code reformat and minor fixes
2016-04-23 23:11:25 -03:00
Noam Meltzer
d5b35e7e1d
unitests: remove docstrings & prints - not needed with nosetests
2016-02-24 00:45:49 +02:00
Noam Meltzer
e0cf0abb1b
flaky tests: try up to 3 times, need to succeed once
2016-02-22 01:52:31 +02:00
Noam Meltzer
ec13a36bdd
unitests: use home brewed timeout for tests
2016-02-22 01:38:26 +02:00
Jannes Höke
d05fa1275a
use timed tests and flaky
2016-02-21 12:52:47 +01:00
Jannes Höke
aa8966832b
release 3.2 and update copyright notice to 2015-2016
2016-01-05 14:12:03 +01:00
Jannes Höke
ea7c54ba07
Release v3.1.1, change author email everywhere
2015-12-21 21:18:53 +01:00
leandrotoledo
060442e0ae
Much better, such wow Sticker tests
2015-09-07 12:10:29 -03:00