Пример #1
0
        public async Task Start()
        {
            WorkData.Reset();
            htmls.Clear();
            timer.Start();

            var me = await client.GetMeAsync();

            WorkData.BotId = me.Id;
            //client.StartReceiving();
            OnStartTimer?.Invoke(null);
        }
Пример #2
0
 public void StartTimer()
 {
     OnStartTimer?.Invoke();
 }