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

Adding explicit allowedUpdates #1484

Closed
wants to merge 4 commits into from
Closed

Conversation

asyncbtd
Copy link

@asyncbtd asyncbtd commented Feb 5, 2025

  1. Created another constructor in the TelegramBotsLongPollingApplication class, which additionally accepts a List containing allowedUpdates, which passes allowedUpdates to the DefaultGetUpdatesGenerator.
  2. In SpringLongPollingBot added an optional method that sets allowedUpdates in a Spring Boot application. In TelegramBotInitializer changed the constructor of the TelegramBotInitializer class to which the afterPropertiesSet method is accessed.

@rubenlagus rubenlagus changed the base branch from master to dev February 16, 2025 11:58
Copy link
Author

@asyncbtd asyncbtd left a comment

Choose a reason for hiding this comment

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

@asyncbtd asyncbtd closed this Feb 28, 2025
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.

2 participants