Interface TelegramRunner
public interface TelegramRunner
Interface indicates that bean should be run when application starts and
TdApi.AuthorizationStateReady
received by the client. The order of executions of the registered beans can be controlled
with Order
annotation.- Author:
- Pavel Vorobyev
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(org.springframework.boot.ApplicationArguments args) Callback used to run the bean.
-
Method Details
-
run
Callback used to run the bean.- Parameters:
args
- incoming application arguments- Throws:
Exception
- on error
-