Exemplo n.º 1
0
        public async Task <LoginState> StartBot()
        {
            try
            {
                var me = await TelBotClient.GetMeAsync();

                return(LoginState.success);
            }
            catch (Exception)
            {
                return(LoginState.denied);
            }
        }