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

Conversation

kozalosev
Copy link
Owner

No description provided.

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.
- new test
- more logging
@kozalosev kozalosev added the enhancement New feature or request label Oct 7, 2018
@kozalosev kozalosev self-assigned this Oct 7, 2018
@kozalosev kozalosev merged commit f2cb328 into master Oct 7, 2018
@kozalosev kozalosev deleted the inline-decrypt-button branch October 7, 2018 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant