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

Create Telegram update handler #285

Merged
merged 1 commit into from
Mar 29, 2020
Merged

Create Telegram update handler #285

merged 1 commit into from
Mar 29, 2020

Conversation

Tjzabel
Copy link
Member

@Tjzabel Tjzabel commented Mar 29, 2020

This PR piggy-backs off @kennedy's work and moves the logic for determining which handler to use for a given Telegram update into its own function in the handler.go file.

Any new handlers need to have a switch statement added into the updateHandler in order to properly route Telegram updates.

Closes #238

@Tjzabel Tjzabel added new change Adds new capabilities or functionality Telegram Issues relating to Telegram bridge labels Mar 29, 2020
@Tjzabel Tjzabel added this to the v2.0.0 milestone Mar 29, 2020
@Tjzabel Tjzabel requested a review from a team March 29, 2020 00:49
Copy link
Contributor

@kennedy kennedy left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@kennedy kennedy merged commit c56cd65 into master Mar 29, 2020
@kennedy kennedy deleted the tg/update-handler branch March 29, 2020 01:45
@jwflory
Copy link
Member

jwflory commented Mar 30, 2020

Hooray! Happy to see this make it in. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new change Adds new capabilities or functionality Telegram Issues relating to Telegram bridge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Update Handler
3 participants