public TLSendMessageService(ITLBotService tLBotService)
 {
     _tLBotService = tLBotService;
 }
예제 #2
0
 public void Start(ITLBotService botService, CancellationToken cancellationToken)
 {
     _botService            = botService;
     _botService.OnMessage += OnMessage;
     _botService.Start(cancellationToken);
 }