Noam Meltzer
43bfebb150
Update copyright date to 2020 ( #1746 )
2020-02-02 23:08:54 +02:00
Jacob Bom
2ca7ff82ef
Update headers to 2018 ( #962 )
...
Also add two missing headers.
[ci skip]
2018-01-04 17:16:06 +02:00
Eldinnie
eae139d3e9
remove de_json() ( #789 )
...
* remove de_json()
* Remove or rename obsolete tests
* fixes according to rc
2017-09-01 08:45:22 +02:00
Noam Meltzer
e018445513
Documentation update to PEP ( #797 )
2017-09-01 08:43:08 +02:00
Eldinnie
b3b94240a5
Docs update ( #728 )
...
Amazing new documentation.
2017-07-23 23:33:08 +03:00
Ihor Polyakov
08d298eb60
TelegramObject.de_json became classmethod ( #737 )
...
Fixes #734
2017-07-23 22:14:38 +03: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
960862ccb1
Merge branch 'master' into october3
...
# Conflicts:
# telegram/bot.py
# telegram/callbackquery.py
# telegram/chat.py
# telegram/ext/messagehandler.py
# telegram/inlinekeyboardbutton.py
# telegram/inlinequeryresultcachedaudio.py
# telegram/message.py
# tests/test_filters.py
2016-10-19 12:35:50 +02:00
Noam Meltzer
78088f4f6a
Fix grammer: 'a object' -> 'an object'
2016-10-17 01:22:40 +03:00
Noam Meltzer
59fa717023
Documentation improvements + small style fixes
2016-10-17 01:11:20 +03:00
Jacob Bom
e367b8519d
Use explicit kwargs for all class inits in pure api.
...
While not stickily necessary for most classes (since user isn't directly creating them) it still unifies our approach.
However for some like ReplyKeyboardHide where users are making the classes themselves it should improve IDE autocomplete support.
2016-10-16 16:24:13 +02: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
d445d35ceb
Running yapf for codebase #259
2016-05-14 22:46:40 -03:00
leandrotoledo
dfc75cc64e
Add docstring style checker and fixing some
2016-01-13 14:09:35 -02: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
49ff02dcf4
Fix regression on Telegram objects with thumb properties
2015-09-04 18:50:26 -03:00
Leandro Toledo
a86fc6c2ac
Improving the design of existing Telegram classes
2015-08-28 17:45:44 -03:00
Leandro Toledo
b20f5af1e1
Improving the design of existing Telegram classes and adding docstrings
2015-08-28 12:19:30 -03:00
Leandro Toledo
163b27b7dd
fix license header
2015-08-11 16:58:17 -03:00
Leandro Toledo
59b247af94
Moving from GPLv2 to LGPLv3
2015-08-10 13:57:31 -03:00
Leandro Toledo
0c6ec763b1
Fixes ForceReply class
2015-08-08 19:09:24 -03:00
leandrotoledo
b6fb2bc6bf
Merge branch 'master' of https://github.com/leandrotoledo/python-telegram-bot into testing
2015-07-20 08:26:29 -03:00
leandrotoledo
61530aeb34
Adding logging decorator
2015-07-20 08:25:04 -03:00
leandrotoledo
f4ad7037e1
Fixes #12 and changes to_data to to_dict
2015-07-19 23:25:44 -03:00
leandrotoledo
859f04e566
Resolves #45 creating to_data abstractmethod on TelegramObject (new base class)
2015-07-19 23:06:04 -03:00
Leandro Toledo
ded002a0c8
Adding newline at EOF
2015-07-19 22:06:07 -03:00
JASON0916
ce852de9a8
base class for telegram class
2015-07-17 22:53:54 +08:00
Leandro Toledo
3df9d2b429
Working on Python 3 support
2015-07-12 10:39:11 -03:00
Leandro Toledo
b90b608fb1
Add to_json method to classes
2015-07-09 11:40:44 -03:00
Leandro Toledo
b2a4d4f5fc
PEP8
2015-07-08 21:58:13 -03:00
Leandro Toledo
0214910741
Adding ReplyMarkup, ForceReply, renaming methods and minor fixes
2015-07-08 21:15:46 -03:00
Leandro Toledo
fdc913a580
Adding Travis CI
2015-07-07 16:50:36 -03:00