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 Type
    Method
    Description
    void
    run(org.springframework.boot.ApplicationArguments args)
    Callback used to run the bean.
  • Method Details

    • run

      void run(org.springframework.boot.ApplicationArguments args) throws Exception
      Callback used to run the bean.
      Parameters:
      args - incoming application arguments
      Throws:
      Exception - on error