Commit Graph
26 Commits
Author SHA1 Message Date
Davte 55b47ed1f7 Method to add a table and its columns to and ObjectWithDatabase 2022-12-10 18:46:20 +01:00
Davte 881d249256 Compliance with Telegram Bot API 6.3 2022-12-08 16:18:22 +01:00
Davte fc486c60ce When admin A requests profile picture of user B, send B's picture and not A's. 2022-12-06 22:18:51 +01:00
Davte e813d37c8f Browse users via /auth command 2022-12-05 22:10:30 +01:00
Davte 21f91fb07c Syntax-breaking typo 2022-10-12 14:12:39 +02:00
Davte 50c2f92e8e asyncio get_event_loop method is being deprecated; use new_event_loop / get_running_loop and asyncio.run instead
Major version change because it may not be backward-compatible
2022-10-12 14:08:46 +02:00
Davte d77c416ea6 send_document method should not require a chat_id since it can be passed an update object 2020-12-20 20:30:59 +01:00
Davte e487764aad send_photo method should not require a chat_id since it can be passed an update object 2020-12-11 08:22:16 +01:00
Davte 4bf00f0cc5 Avoid relative import statements 2020-11-19 15:18:44 +01:00
Davte ed7e335d4e Items in __all__ must be str, not module 2020-11-19 14:37:25 +01:00
Davte d6a4a1d69a Document can be None if document_path is provided 2020-11-19 12:32:58 +01:00
Davte 668822fc21 Do not log chardet INFO and DEBUG levels 2020-11-16 23:05:18 +01:00
Davte 135442dcd6 Compliance with Telegram Bot API 5.0 and improved type hinting for API methods. 2020-11-16 22:56:12 +01:00
Davte eb11160a02 Version number 2020-11-15 21:35:38 +01:00
Davte fda4cac348 Import statements refactored 2020-11-15 21:34:18 +01:00
Davte 773fe1fdb1 web should not be imported from aiohttp; use aiohttp.web instead 2020-11-15 20:55:43 +01:00
Davte ddf25f8dd1 Store user profile pictures in bot database and show them in authorization panel 2020-10-07 16:32:51 +02:00
Davte 17b26ec23e MySQL compatibility: specify VARCHAR length
`db.types.string` becomes now `db.types.string(n)`
`db.types.text` is the wrong type to use (text blobs)
2020-10-07 16:32:50 +02:00
Davte 68974c4c40 Pass all information to command handler when using /start 2020-09-26 19:28:18 +02:00
Davte 92e39e7ed7 Make general_handler handle photo updates 2020-09-05 10:36:00 +02:00
Davte 48b7e1e4a2 Updated examples 2020-08-23 14:21:45 +02:00
Davte b797f3fffe Remove argument parameter from parser decorator 2020-08-23 14:08:06 +02:00
Davte 3e19ba4c81 In text message handler, make available both lowered and original text and inspect condition parameters 2020-08-23 14:03:52 +02:00
Davte e29bb08b7b Accept language directly 2020-08-20 15:51:00 +02:00
Davte 7233f9e478 General handler implemented and applied to contact updates 2020-08-17 23:51:50 +02:00
Davte e481623a75 Document handlers implemented 2020-08-16 15:18:02 +02:00