Davte
e8cf7cd421
Version 13 exposed secrets
2019-07-19 10:07:24 +02:00
Davte
600e3a3826
New version (12 was deleted due to token exposure)
2019-07-19 10:03:29 +02:00
Davte
44baf46406
Build wheels from sdist output, since the former ignores MANIEFST.in
2019-07-19 10:02:46 +02:00
Davte
7e0d871474
Exclude data/ and test*.py from distribution
2019-07-19 09:39:42 +02:00
Davte
f8ec144719
Prevent AttributeError: 'NoneType' object has no attribute 'format'
2019-07-18 17:45:47 +02:00
Davte
948ebcd015
Used edit_message_text to reply if message_id is in kwargs
2019-07-18 12:07:06 +02:00
Davte
3cb912154b
Typo
2019-07-18 11:21:14 +02:00
Davte
0557b67734
Backward compatibility: allow regular functions instead of coroutines
...
Wrap regular functions passed to `set_chosen_inline_result_handler`
since it accepts only coroutines.
2019-07-18 10:17:41 +02:00
Davte
a01ff8c486
Individual location handler
2019-07-18 09:57:56 +02:00
Davte
41f578cf21
reply general method defined: calls proper output method
...
Call reply with an update and some keyword arguments, it will use the
proper method according to kwargs to send the output.
2019-07-18 09:56:40 +02:00
Davte
2e5ef62dff
Hide reply_markup from edited message if new message is sent with it
2019-07-18 00:00:55 +02:00
Davte
568694f3aa
When editing message, make each message reply to the previous
2019-07-17 23:55:59 +02:00
Davte
c331313f85
Bug in edit_message_text fixed: text instead of text_chunk
2019-07-17 23:46:07 +02:00
Davte
44055ff181
Allow new button syntax also in legacy mode (buttons with no data)
2019-07-17 16:54:57 +02:00
Davte
afb2d26627
Updated dependencies in setup file
2019-07-17 12:36:57 +02:00
Davte
f6cc57e70b
Semplified dependencies
2019-07-17 12:15:44 +02:00
Davte
6c88412a54
Update requirements
2019-07-17 11:56:00 +02:00
Davte
b6c8c7e5bc
Prevent aiohttp from encoding file names as URLs
2019-07-17 11:06:24 +02:00
Davte
f590d3d677
type(None) != None
2019-07-17 00:21:55 +02:00
Davte
4b27b26467
Support null answer to callback queries
2019-07-17 00:18:43 +02:00
Davte
9c008d5923
Pass only supported arguments to async_wrapped coroutines
2019-07-16 23:58:56 +02:00
Davte
cb2092bef4
Backward compatibility with legacy custombot achieved
2019-07-16 16:43:06 +02:00
Davte
ee7864f813
Whitespace
2019-07-16 16:42:20 +02:00
Davte
ddc006a192
Property unauthorized_message was renamed
2019-07-16 16:41:56 +02:00
Davte
434d09c317
chosen_inline_result handler refactored
2019-07-16 16:40:59 +02:00
Davte
7e461be1bd
Defined methods forward_message and delete_message
2019-07-16 16:39:23 +02:00
Davte
d53051e6f3
Class method get defined.
2019-07-16 16:38:53 +02:00
Davte
b0149da520
Example showing how to run more bots together
2019-07-15 18:06:44 +02:00
Davte
925c03b1ed
Information updated
2019-07-15 18:06:32 +02:00
Davte
8ab1ec4461
Whitespace
2019-07-15 18:06:08 +02:00
Davte
a6105e4fb1
Added information in webhook guide
2019-07-15 17:24:06 +02:00
Davte
d640a21a5d
Webhook guide
2019-07-15 17:07:57 +02:00
Davte
24482aecbc
Append to secrets file instead of overwriting
2019-07-15 17:07:26 +02:00
Davte
be8d06169d
Example showing how to develop a simple bot with davtelepot
2019-07-15 15:36:01 +02:00
Davte
f8cc0c1a22
Format unknown command message text passing self as bot.
2019-07-15 15:30:22 +02:00
Davte
3669680156
User higher level answer_inline_query method
2019-07-15 15:02:38 +02:00
Davte
052410ecf7
Fixed bugs in parser decorator
2019-07-15 15:02:11 +02:00
Davte
4c25c935bb
New version
2019-07-15 13:17:54 +02:00
Davte
9f26352728
Button decorator signature changed
2019-07-15 13:08:39 +02:00
Davte
a8a797a176
Bot decorators will pass only supported arguments to decorated functions
...
Command, parser, button and query decorators will not pass unsupported
arguments to their decorated functions anymore (legacy compatibility
with custombot and new feature for bot).
2019-07-15 13:06:02 +02:00
Davte
e412548edf
Added Bot() property callback_data_separator and method to set it
...
It will be used to parse callback data unless a more specific separator
is passed to @Bot().button decorator. If both are None, data will be a
string without prefix.
2019-07-15 13:02:44 +02:00
Davte
f689d9b95a
get_me method needed for legacy mode
2019-07-14 20:01:07 +02:00
Davte
0ac4553591
Documentation
2019-07-13 18:26:12 +02:00
Davte
fc7da6d1bd
telepot-powered functions replaced with new ones
...
telepot repository was archived in may 2019
2019-07-13 16:44:13 +02:00
Davte
9cc615df69
Keep admin_tools as legacy module, create new administration_tools
...
`admin_tools` relies on legacy `custombot`, `administration_tools` on
`bot`
2019-07-13 16:25:00 +02:00
Davte
f1a5d244df
Method to set event handler in routing table
2019-07-13 16:21:51 +02:00
Davte
37d2b6f3d8
Set already_sent value, otherwise it may be referenced before assignment
2019-07-12 14:53:35 +02:00
Davte
367b112809
Inline query decorator refactored
2019-07-12 14:40:55 +02:00
Davte
d6b7b3002e
Fixed bug concerning wrong identifier in callback queries
...
If 'from' in update do not consider update['message']
2019-07-12 14:40:35 +02:00
Davte
b19e7734e0
@bot.command and @bot.button parameter names changed
2019-07-12 14:39:17 +02:00