Commit graph

758 commits

Author SHA1 Message Date
t0rr
b33a043f86 Add other message tests templates 2018-08-08 03:32:02 +03:00
t0rr
da7ca2807f Test Message Reply Location 2018-08-08 03:22:15 +03:00
t0rr
3f394c3118 fix test names 2018-08-08 03:16:33 +03:00
Oleg A
2678a6afca test_reply_media_group fix 2018-08-08 03:14:14 +03:00
t0rr
3d6219f441 There's no thumb in InputMediaPhoto. And arg media can be string (file_id) 2018-08-08 02:39:43 +03:00
t0rr
1e89049344 add message tests and datasets 2018-08-08 02:37:21 +03:00
t0rr
dfe90eb407 fix message.py imports 2018-08-07 14:21:47 +03:00
Alex Root Junior
b2eb12c8b3
Merge pull request #61 from Olegt0rr/patch-15
Add edit_reply_markup method to Message class
2018-08-06 21:39:14 +03:00
Oleg A
5b4cacd74c
Add edit_reply_markup method to Message class 2018-08-06 19:24:45 +03:00
Alex Root Junior
0b46a042ad Merge remote-tracking branch 'origin/dev-1.x' into dev-1.x 2018-08-03 00:14:53 +03:00
Alex Root Junior
c73888bd98 Rename encrypted_passport_element_type -> type 2018-08-03 00:12:38 +03:00
Alex Root Junior
13408426db Fix webhook (retry-after) 2018-08-03 00:11:43 +03:00
Alex Root Junior
9b593af592
Merge pull request #60 from Olegt0rr/patch-14
MessageCantBeDeleted exception
2018-07-31 16:26:31 +03:00
Oleg A
db94260df0
MessageCantBeDeleted exception
If bot without admin rights try to delete message it receive BadRequest: message can't be deleted
2018-07-31 11:51:03 +03:00
Alex Root Junior
94d3dd4b13 You can now use the Retry-After response header to configure the delay after which the Bot API will retry the request after an unsuccessful response from a webhook. 2018-07-29 03:17:44 +03:00
Alex Root Junior
9477e9af86 Implement Gone request handler 2018-07-29 03:12:21 +03:00
Alex Root Junior
a43e196d6d Added the new field foursquare_type to the objects Venue, InlineQueryResultVenue and InputVenueMessageContent, and the parameter foursquare_type to the sendVenue method. 2018-07-29 03:08:33 +03:00
Alex Root Junior
8df8792f1c Added the method sendAnimation 2018-07-29 02:58:17 +03:00
Alex Root Junior
f006e53ddc Added support for attaching custom thumbnails to uploaded files.
Note: is not work properly and will be fixed in 2.0
2018-07-29 02:55:24 +03:00
Alex Root Junior
a8f6f3adf5 Added the method editMessageMedia and new types InputMediaAnimation, InputMediaAudio, and InputMediaDocument. 2018-07-29 02:36:27 +03:00
Alex Root Junior
f635b5c965 Added vCard support when sharing contacts 2018-07-29 02:17:17 +03:00
Alex Root Junior
0a847c4de7 Added the field thumb to the Audio object to contain the thumbnail of the album cover to which the music file belongs. 2018-07-29 02:05:07 +03:00
Alex Root Junior
6f3eda16e5 Telegram Passport 2018-07-28 19:16:54 +03:00
Alex Root Junior
f7a071cb0b Added the field animation to the Message object. 2018-07-26 22:53:56 +03:00
Alex Root Junior
f6573ded96 Fix docs Makefile. (revert) 2018-07-26 21:29:41 +03:00
Alex Root Junior
ad96efbd71 Added two new MessageEntity types: cashtag and phone_number. 2018-07-26 21:29:25 +03:00
Alex Root Junior
52a4eb7226 Bump version 2018-07-26 21:01:39 +03:00
Alex Root Junior
5412c3c120
Merge pull request #56 from Olegt0rr/patch-16
Update json.py to fix pyCharm warning
2018-07-26 20:59:04 +03:00
Oleg A
a06cdd188d
Update json.py
fix pyCharm warning
'ujson' in try block with 'except ImportError' should also be defined in except block
This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
2018-07-21 11:31:18 +03:00
Alex Root Junior
220f47b00f InlineQueryResultLocation has live_period 2018-07-15 22:20:03 +03:00
Alex Root Junior
a678318927 More content types. 2018-07-15 22:16:34 +03:00
Alex Root Junior
50ea2f37ae In channels CallbackQuery.message.from_user can be empty. 2018-07-15 21:55:23 +03:00
Alex Root Junior
ebc0a94201 Moooore error types. 2018-07-15 21:49:53 +03:00
Alex Root Junior
59bde14db3 Fixed pydoc for Message.parse_entities. 2018-07-15 21:07:37 +03:00
Alex Root Junior
f52c59376d Fixed markup-entities parsing. 2018-07-15 21:00:35 +03:00
Alex Root Junior
3abb48537c
Merge pull request #54 from ape364/patch-1
Update quick_start.rst
2018-07-09 21:29:40 +03:00
Alex Root Junior
c73975a2df
Merge branch 'dev-1.x' into patch-1 2018-07-09 21:27:45 +03:00
ape364
3de1397387
Update quick_start.rst
replace tab with 4 spaces
2018-07-09 23:25:13 +05:00
Alex Root Junior
6dc5d77bb2
Merge pull request #53 from surik00/dev-1.x
Fix broadcast example
2018-07-02 21:54:11 +03:00
Suren Khorenyan
40fd2b126b Fix broadcast example 2018-07-02 21:51:48 +03:00
Alex Root Junior
887e715f06
Merge pull request #50 from kolayv/patch-1
must be use round
2018-06-15 23:11:59 +03:00
Alex Root Junior
af72dcc13c
Merge pull request #49 from kolayv/patch-2
replaced int to datetime
2018-06-15 23:10:50 +03:00
Kolay
fee449a233
replaced int to datetime 2018-06-15 00:35:46 +03:00
Kolay
dd0fb98376
must be use round 2018-06-15 00:32:55 +03:00
Alex Root Junior
a139ebee6e
Merge pull request #48 from surik00/dev-1.x
Babel is not in requirements
2018-06-11 14:08:52 +03:00
Suren Khorenyan
3adba29c27 Fix return typing 2018-06-11 00:31:26 +03:00
Suren Khorenyan
7e601d1c8d Update docstring for the user class 2018-06-11 00:28:14 +03:00
Suren Khorenyan
b7a67cd522 Babel is in requirements now 2018-06-10 13:41:53 +03:00
Alex Root Junior
239728ccc6
Merge pull request #46 from surik00/dev-1.x
Improve check in ExceptionsFilter
2018-06-07 23:47:20 +03:00
Suren Khorenyan
99bb5a9fef Improve check in ExceptionsFilter 2018-06-07 23:38:23 +03:00