Alex Root Junior
b190bbba19
Dev 2.x api 5.4 ( #741 )
...
* Added support of Bot API 5.4
* Bump version
* Added aliases for ChatJoinRequest object
* Create aiohttp session inside async function
* Try to fix compatibility with aiohttp 3.8
* Fixed compatibility with Python 3.10
2021-11-07 01:39:51 +02:00
darksidecat
358ecc7821
Fix #665 , add separate parametrs for saving to directory and file ( #677 )
...
* close #665
* add backward compatibility
* improve doc, codestyle
* warning text update
* use tmpdir fixture in tests
2021-09-06 00:05:52 +03:00
Ramzan Bekbulatov
f6f2972a11
Add to ChatMemberOwner new default fields ( #645 )
...
* new: add field type ConstField
* new: add const fields for ChatMemberOwner
* new: better typings for get_chat_administrators
* new: add tests for chat owner fields
* fix: Type typing for class
* enh: alias is_chat_owner for is_chat_creator
2021-07-31 21:47:37 +03:00
Oleg A
f18e4491c2
Telegram API 5.3 ( #610 )
...
* docs: api version update
* feat: personalized commands
* feat: custom placeholders
* refactor: ChatMember split
* fix: old names for ChatMemberStatus
* refactor: renamed kickChatMember to banChatMember
* style: align params
* refactor: renamed getChatMembersCount to getChatMemberCount (#614 )
* feat: resolve ChatMember
* refactor: renamed BotCommandScopeTypes (similar to code style)
* refactor: resolve is a static method
* Construct BotCommandScope from type
* Make BotCommandScope classmethod instead of method
* Use classmethod for ChatMember resolve method
Co-authored-by: Hoi Dmytro <dmytro.hoi@gmail.com>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-07-04 23:52:55 +03:00
Egor
f904292751
fix: bug IDFilter checking message from channel ( #376 )
...
* fix: bug IDFilter checking message from channel
* chore: add mark.asyncio for tests which were ignored previously
2020-07-05 03:08:38 +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
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
Oleg A
38a2309c32
#289 added setMyCommands test
2020-04-05 16:48:34 +03:00
Oleg A
0f245bbf56
#289 added sendDice test and dataset
2020-04-05 16:14:26 +03:00
Suren Khorenyan
ad7238fda8
Some refactor
2019-08-10 00:08:11 +03:00
Gabben
1be6e1f31d
Update test_chat_member.py
2019-08-04 23:18:57 +05:00
Gabben
a00b854533
Update test_chat_member.py
2019-06-28 14:46:56 +05:00
Gabben
cbb019283a
ChatMember update
...
Deprecated methods removed
Added new RESTRICTED status
is_chat_member method has been updated: user could be restricted but remain a member.
Added tests for chat_member
2019-06-28 14:35:49 +05:00
Oleg A
69161403ba
Add chat migrate event to dataset
2018-05-22 02:21:44 +03:00
Oleg Abramov
e58e084219
Add chat methods tests
2018-04-04 19:33:28 +03:00
Oleg Abramov
bd701c3768
Add exportChatInviteLink test
2018-04-04 18:47:32 +03:00
Oleg Abramov
959f41a2f0
Add getFile test
2018-04-04 18:08:18 +03:00
Oleg Abramov
b95e977c12
Add getUserProfilePhotos test
2018-04-04 17:29:53 +03:00
Oleg Abramov
3e77aa2775
Add sendContact test
2018-04-04 17:05:17 +03:00
Oleg Abramov
486978abe4
Add sendVenue test
2018-04-04 16:55:14 +03:00
Oleg Abramov
b689a084ed
Add sendMediaGroup test
2018-04-04 16:00:55 +03:00
Oleg Abramov
5a7d01ae71
Added test sendVideoNote
2018-04-04 13:44:43 +03:00
Oleg Abramov
0c3ce1cf00
Added tests sendPhoto
2018-04-04 12:42:01 +03:00
Oleg Abramov
24a7788393
Added tests sendAudio, sendDocument. Added parse_mode descriptions to methods with caption
2018-04-04 11:26:43 +03:00
Oleg Abramov
c3e7728866
Pytest part two
2018-04-04 00:38:16 +03:00
Oleg Abramov
4ba810fe25
Test dataset filling
2018-04-03 22:38:46 +03:00
Alex Root Junior
c598a7d82a
Update tests (small fixes)
2018-01-27 22:38:22 +02:00
Alex Root Junior
997d5b4181
Move tests of types to test/types/ directory.
2017-12-01 02:36:12 +02:00