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

example: update telegram translation bot #761

Merged
merged 4 commits into from
Aug 23, 2022
Merged

example: update telegram translation bot #761

merged 4 commits into from
Aug 23, 2022

Conversation

localvar
Copy link
Collaborator

No description provided.

doc/cookbook/translation-bot.md Outdated Show resolved Hide resolved
doc/cookbook/translation-bot.md Outdated Show resolved Hide resolved
doc/cookbook/translation-bot.md Outdated Show resolved Hide resolved
alias: processText # alias of the filter
namespace: extract # namespace the filter belongs to
jumpIf: # conditional jump, begin translation
"": translateChinese # if everything is fine, or end the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do use the empty key?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it needs to jump if everything is fine, to skip processVoice and processPhoto.

doc/cookbook/translation-bot.md Outdated Show resolved Hide resolved
doc/cookbook/translation-bot.md Outdated Show resolved Hide resolved
@localvar localvar merged commit 651846b into easegress-io:main Aug 23, 2022
@localvar localvar deleted the telegram-bot branch August 23, 2022 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants