lyteloli
51547f9745
Fixed usage of deprecated is_private function ( #421 )
...
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-09-13 22:08:55 +03:00
Gabben
a936465f42
add missing attributes ( #422 )
...
https://core.telegram.org/bots/api#animation
2020-09-13 22:07:29 +03:00
Martin Winks
a529619d79
hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term ( #415 )
...
* hotfix(updates): CHOSEN_INLINE_RESULT is a correct API-term
* feat(utils): deprecated descriptor
deprecate CHOSEN_INLINE_QUERY and always return CHOSEN_INLINE_RESULT instead of incorrect value
* fix(tests): remove example from test
* fix(utils): use stacklevel=3
level on which descriptor is being called
2020-09-10 22:34:20 +03:00
Oleg A
9ab2945267
fixed CallbackQuery.answer() returns nothing ( #420 )
2020-09-10 22:31:54 +03:00
Ramzan Bekbulatov
d2cf737919
new: add missed answer_poll and reply_poll ( #384 )
2020-07-13 15:28:38 +03:00
Fenicu
caa0fe69d0
A little documentation revision ( #381 )
2020-07-09 14:27:19 +03:00
Egor
81b36bd192
feat: add ChatType builtin filter ( #356 )
...
* feat: ChatTypesFilter
* feat: add example of usage
* feat: docs
* fix: add import in filters/__init__
* fix: remove some of event_handlers
* fix
* fix imports
* fix: rename to ChatTypeFilter
* fix: rename argument to chat_type
fix: rename example file name
fix: str is container also lol. example fixed also
* fix: respect type hints
* fix: add warning with respect to type hint
* fix: use warnings instead of logging
2020-07-02 14:17:48 +03:00
ixearth
3548d40eab
Add missing thumb parameter ( #362 )
2020-06-29 21:54:47 +03:00
Yyonging
b004c8af19
fix the #307 ( #371 )
2020-06-27 16:10:09 +03:00
Alex Root Junior
09f3c35aec
Hotfix get_full_command
2020-06-13 21:53:31 +03:00
Egor Dementyev
8d30c1dc1b
Fix message.get_full_command() ( #352 )
...
* Fix message.get_full_command()
* Fix message.get_full_command() by JrooTJunior
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* fix typos
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-06-13 19:18:30 +03:00
Denis Belavin
1389ca5874
#320 - Fix: Class InputMediaAudio contains some fields from other class. ( #354 )
...
Co-authored-by: Belavin Denis <belavin.d.andreevich@yandex.ru>
2020-06-10 23:08:44 +03:00
George Imedashvili
027139f1b2
fix get_full_command ( #348 )
...
The reason is that .partition() doesn't have a default param as .split has, and default split param gives possibility to split not only by whitespaces, but also whitespace consequences (so the .strip() in get_args() not needed) and newlines.
It's called "fix", because without it, commands like this:
'''/command
arg
arg1'''
are resulting with ('/command\narg\narg1', '', '')
2020-06-08 20:21:15 +03:00
Alex Root Junior
de13dbf454
AIOG-T-61 Telegram Bot API 4.9
2020-06-08 20:19:05 +03:00
Egor
70767111c4
fix: add support init fields from parent object in KeyboardButton ( #344 )
...
* fix: add support init fields from parent object in KeyboardButton
* fix: add tests
2020-05-31 17:49:33 +03:00
Igor Sereda
15861960f5
Fix missing InlineQueryResultPhoto parse_mode field
2020-05-12 00:32:45 +03:00
Kostiantyn Kriuchkov
689a6cef65
Bug fix
...
There is no method `delete_chat_description`
2020-05-09 08:59:41 +03:00
Alex Root Junior
b0870b3f93
i-AIOG-16 update send dice aliases
2020-04-25 23:11:52 +03:00
Alex Root Junior
f2c7236ec1
i-AIOG-17: Rename dart constant
2020-04-25 22:52:48 +03:00
Alex Root Junior
233c676755
i-AIOG-17 Add emoji to the Dice object
2020-04-25 17:54:15 +03:00
Alex Root Junior
f5e4016bf8
i-AIOG-15: Add open_period and close_date to the Poll object
2020-04-25 17:48:23 +03:00
Alex Root Junior
7e3f83ebfe
i-AIOG-13: Add explanation and explanation_entities to the Poll object
2020-04-25 17:30:44 +03:00
LimiO
e50f9e5269
Change False to True at reply_dice
2020-04-18 17:47:03 +03:00
LimiO
a7a06b7301
Add reply_dice method
2020-04-18 17:40:26 +03:00
LimiO
2ff880bb5f
add answer_dice method
2020-04-18 16:09:45 +03:00
Alex Root Junior
a565251d4e
Merge pull request #294 from aiogram/dev-2.x-api-4.7
...
Updated API 4.7 for dev-2.x branch
2020-04-07 00:41:27 +03:00
Oleg A
97bda44718
#289 BotCommand type init fix
2020-04-06 23:59:37 +03:00
Oleg A
683e2befb5
#289 Added BotCammand and Dice to __all__ types
2020-04-05 19:55:53 +03:00
Oleg A
3d632fea1c
#289 Added the field thumb to the StickerSet object.
2020-04-05 18:54:10 +03:00
Alex Root Junior
5e3df8bfec
#277 : Get default parse mode from context in chat.get_mention()
2020-04-05 18:22:27 +03:00
Oleg A
b77ed1ad92
#289 added setMyCommands method; added BotCommand type
2020-04-05 16:35:56 +03:00
Oleg A
44221872eb
#289 added Dice type and ContentType
2020-04-05 16:07:01 +03:00
Alex Root Junior
8686482e2f
Merge pull request #229 from uburuntu/private-chat-links
...
Private chat links
2020-02-22 23:21:50 +02:00
Alex Root Junior
a00548c061
Merge pull request #273 from uburuntu/fix-copy-poll
...
fix: send_copy for poll: missed attribute getting
2020-02-22 23:16:48 +02:00
Ramzan Bekbulatov
30a17413f0
fix: send_copy for poll: missed attribute getting
2020-02-07 15:02:00 +03:00
Ramzan Bekbulatov
352dc1654a
Merge branch 'dev-2.x' into private-chat-links
2020-02-06 13:35:18 +03:00
Alex Root Junior
20ba5faf5c
Improve poll type
2020-01-25 17:56:43 +02:00
Evgen
7a874c7a58
Update reply_keyboard.py
...
Fix missing request_poll in KeyboardButton.__init__
2020-01-24 10:49:12 +05:00
Alex Root Junior
1aa80c80d1
#247 : Don't mutate TelegramObject in to_* and as_* methods
2020-01-24 00:00:06 +02:00
Alex Root Junior
d1ff0046a5
Export KeyboardButtonPollType
2020-01-23 22:44:24 +02:00
Alex Root Junior
ca9a4440d1
- Update docstring of KeyboardButton
...
- Fix PollAnswer model and export it from `aiogram.types`
- Fix dispatcher poll_answer handlers registration
- Add actions to LoggingMiddleware
2020-01-23 22:37:54 +02:00
gabbhack
a8debbba04
poll_type to type
2020-01-23 20:51:25 +05:00
gabbhack
caf9f9e411
typofix
2020-01-23 20:49:43 +05:00
gabbhack
ee803303aa
Bot API 4.6
2020-01-23 20:23:08 +05:00
Alex Root Junior
9115a44be6
Backport of text decoration utils from 3.0
2020-01-01 16:39:31 +02:00
Alex Root Junior
4933261d65
Fix deprecation warning in user module
2020-01-01 16:05:09 +02:00
Alex Root Junior
778913d51f
Merge branch 'dev-2.x' into shortcut
2020-01-01 01:07:23 +02:00
Gabben
4df615446d
Try to resolve conflict
2020-01-01 00:56:55 +05:00
Gabben
655554862d
New Sticker shortcuts
...
- New delete_from_set shortcut
- Fix docs
2020-01-01 00:53:41 +05:00
Gabben
4cd59971db
Type hints
2020-01-01 00:46:27 +05:00