|
c8a98b035f
|
Merge branch 'develop' of ssh://gogs.davte.it:8445/Davte/davtelepot into develop
# Conflicts:
# davtelepot/__init__.py
|
2020-01-24 13:34:25 +01:00 |
|
|
4f827587ee
|
Mutable defaults removed
|
2020-01-19 19:09:58 +01:00 |
|
|
4abad7c423
|
Small improvement in download_file method
Generate new file name if no file name is provided; make sure it does
not exist.
|
2020-01-08 10:30:47 +01:00 |
|
|
8565a96e15
|
Add users table with its fields if missing
Refactoring of previous version patch
|
2020-01-05 19:33:05 +01:00 |
|
|
1511b4742f
|
Add user table if missing
|
2020-01-05 19:24:42 +01:00 |
|
|
581cfd750e
|
Function to download files implemented
|
2020-01-04 18:34:17 +01:00 |
|
|
4acd10d344
|
Individual voice handler now supported
|
2020-01-04 17:21:02 +01:00 |
|
|
383418d955
|
send_voice method implemented
|
2020-01-04 15:09:16 +01:00 |
|
|
9ae8058017
|
send_audio method implemented
Send audio files by their id if available, otherwise send audio file
from local path and store its telegram_id.
|
2020-01-04 12:50:44 +01:00 |
|
|
e7a30d0369
|
Allow command aliases to be a /command too.
|
2019-12-01 18:20:39 +01:00 |
|
|
920554d465
|
Print statements removed
|
2019-11-28 18:12:15 +01:00 |
|
|
85341d7064
|
Placeholder system
Send a placeholder message or chat_action if the request takes some
time.
|
2019-11-28 18:08:58 +01:00 |
|
|
aa6f45887e
|
Allow addition of help sections
|
2019-08-18 23:23:48 +02:00 |
|
|
45e2bbfa3d
|
Support for multilanguage /help command
A bot guide may be built automatically using @bot.command decorator.
|
2019-08-18 20:55:47 +02:00 |
|
|
a2365f815d
|
Handle unknown exceptions in getUpdates method
|
2019-08-15 13:45:32 +02:00 |
|
|
f525caa2e5
|
Comments
|
2019-08-05 21:59:35 +02:00 |
|
|
e0f1199768
|
Interrupt if unable to start webapp
|
2019-08-04 22:27:10 +02:00 |
|
|
6f45b906ff
|
Add reply keyboard buttons to aliases if necessary
|
2019-07-27 00:00:21 +02:00 |
|
|
1b9c039549
|
Avoid returning fake log_file_name
|
2019-07-26 23:43:11 +02:00 |
|
|
62b390b7b9
|
Multilanguage support for reply keyboard buttons
|
2019-07-26 23:37:23 +02:00 |
|
|
417dcb63e4
|
/log and /errors commands implemented
Receive bot general log and errors log via bot itself
|
2019-07-26 18:22:27 +02:00 |
|
|
c56c37c351
|
Make send_document return an Exception if document to send is not found
|
2019-07-26 14:03:33 +02:00 |
|
|
ad5ec33869
|
Close buffered_file only if it exists
|
2019-07-26 10:36:30 +02:00 |
|
|
3f4417b84b
|
Added support for multilanguage command descriptions
|
2019-07-21 20:47:54 +02:00 |
|
|
f5c661925c
|
Close buffered_file only if it exists
|
2019-07-21 17:45:39 +02:00 |
|
|
04827b4691
|
davtelepot.bot.Bot().send_document method implemented
It accepts document handlers, Telegram `document_id`s or file paths
|
2019-07-21 17:32:27 +02:00 |
|
|
ab63f56276
|
Log identifier if get_user_identifier method fails
|
2019-07-20 19:29:00 +02:00 |
|
|
10d53e8e1e
|
Insert selected_language_code for new users (set to None).
|
2019-07-20 13:04:54 +02:00 |
|
|
382ee2a4f1
|
Store users data and track changes
|
2019-07-19 18:17:19 +02:00 |
|
|
6075e5513b
|
Support for multiple languages
|
2019-07-19 16:40:46 +02:00 |
|
|
a085fddf31
|
Use dot for relative imports
|
2019-07-19 12:21:11 +02:00 |
|
|
f8ec144719
|
Prevent AttributeError: 'NoneType' object has no attribute 'format'
|
2019-07-18 17:45:47 +02:00 |
|
|
948ebcd015
|
Used edit_message_text to reply if message_id is in kwargs
|
2019-07-18 12:07:06 +02:00 |
|
|
3cb912154b
|
Typo
|
2019-07-18 11:21:14 +02:00 |
|
|
a01ff8c486
|
Individual location handler
|
2019-07-18 09:57:56 +02:00 |
|
|
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 |
|
|
2e5ef62dff
|
Hide reply_markup from edited message if new message is sent with it
|
2019-07-18 00:00:55 +02:00 |
|
|
568694f3aa
|
When editing message, make each message reply to the previous
|
2019-07-17 23:55:59 +02:00 |
|
|
c331313f85
|
Bug in edit_message_text fixed: text instead of text_chunk
|
2019-07-17 23:46:07 +02:00 |
|
|
f590d3d677
|
type(None) != None
|
2019-07-17 00:21:55 +02:00 |
|
|
4b27b26467
|
Support null answer to callback queries
|
2019-07-17 00:18:43 +02:00 |
|
|
ee7864f813
|
Whitespace
|
2019-07-16 16:42:20 +02:00 |
|
|
ddc006a192
|
Property unauthorized_message was renamed
|
2019-07-16 16:41:56 +02:00 |
|
|
434d09c317
|
chosen_inline_result handler refactored
|
2019-07-16 16:40:59 +02:00 |
|
|
7e461be1bd
|
Defined methods forward_message and delete_message
|
2019-07-16 16:39:23 +02:00 |
|
|
d53051e6f3
|
Class method get defined.
|
2019-07-16 16:38:53 +02:00 |
|
|
8ab1ec4461
|
Whitespace
|
2019-07-15 18:06:08 +02:00 |
|
|
f8cc0c1a22
|
Format unknown command message text passing self as bot.
|
2019-07-15 15:30:22 +02:00 |
|
|
3669680156
|
User higher level answer_inline_query method
|
2019-07-15 15:02:38 +02:00 |
|
|
052410ecf7
|
Fixed bugs in parser decorator
|
2019-07-15 15:02:11 +02:00 |
|