Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline button for decryption of messages #7

Merged
merged 2 commits into from
Oct 7, 2018
Merged

Commits on Oct 7, 2018

  1. Implement an inline button for decryption of messages

    Here the word "encryption" means all different kinds of message
    transformations used by the bot, such as translation to binary or
    hexadecimal string, base64 encoding and others that may be introduced in
    the future.
    
    Since the maximum length of inline queries is strongly restricted by
    Telegram and most of such messages are pretty long, I decided to use
    another approach for decryption -- inline buttons with callbacks.
    
    Note that the length of callback data is restricted as well, so we have
    to save original messages into an external database and pass their IDs
    as data.
    kozalosev committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    7923953 View commit details
    Browse the repository at this point in the history
  2. Fix transactions in the msgdb module

    - new test
    - more logging
    kozalosev committed Oct 7, 2018
    Configuration menu
    Copy the full SHA
    a9c9c50 View commit details
    Browse the repository at this point in the history