-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* @extra field of incoming updates now available in EXTRA and is empt…
…y dict by default. It is useful to store some user data there * added create_bot_command_filter(command: str) helper to create specified command handler (useful for bots). This filter parses message text as command and puts bot_command and bot_command_args to update.EXTRA * added Client.bot_command_handler method for registration of text message handlers with texts started with "/" * added Client.text_message_handler method for registration of text message handlers * added Client.parse_text method to parse text entities according to parse_mode parameter. By default parse_mode from Client constructor will is used * New high-level API method Client.edit_message - Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side
- Loading branch information
Showing
6 changed files
with
200 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "0.1.0" | ||
__version__ = "0.2.0" | ||
|
||
from .client import Client | ||
from .filters import FilterCallable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters